Skip to main content
NVIDIA
FLUX.1-Kontext
Container
NVIDIA
FLUX.1-Kontext

FLUX.1-Kontext NIM houses FLUX.1 Kontext [dev] model which is a 12 billion parameter rectified flow transformer capable of editing images based on text instructions.

LayerLabelCreated
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4CMD
["/bin/bash" "-c" "/opt/nim/start_server.sh"]
06/11/2026 4:41 PM UTC
sha256:356547feea019816efc98426529a87980dff42514ee16cb5465eba64ee02abdcRUN
RUN /bin/sh -c touch $SERVER_START_SCRIPT_PATH &&
  chmod a+rx $SERVER_START_SCRIPT_PATH &&
  cat > $SERVER_START_SCRIPT_PATH <<-'EOF' #!/usr/bin/env bash set -eu # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: LicenseRef-NvidiaProprietary for file in /opt/nim/start_server.d/*; do if [[ "$file" == *.sh ]]; then . "$file" elif [[ "$file" == *.txt ]]; then cat "$file" fi done start_server EOF # buildkit
06/11/2026 4:41 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
PYTHONWARNINGS=ignore::UserWarning,ignore::SyntaxWarning,ignore::FutureWarning,ignore::DeprecationWarning,ignore:(?i).*deprecated.*
06/11/2026 4:41 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
SERVER_START_SCRIPT_PATH=/opt/nim/start_server.sh
06/11/2026 4:41 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4USER
nvs:1000
06/11/2026 4:41 PM UTC
sha256:c23988032def6b9857c8980e52c61e6f8bf6d65e48720556bf02e8901ed36ff3RUN
chown 1000.1000 /home/triton-server
06/11/2026 4:41 PM UTC
sha256:c8e84685d6d4a701ea688c3e1e12efe0c0cf1a74f7828abaa7ee4e8a346fd430RUN
mkdir /home/triton-server
06/11/2026 4:41 PM UTC
sha256:2f36863839fee673baba6ff159af4e31827bf0371a33168b00028908ded6d309RUN
groupadd --gid 1000 --non-unique nvs &&
  useradd --create-home --shell /usr/sbin/nologin --uid 1000 --non-unique --gid 1000 nvs &&
  chown 1000.1000 $NIM_DIR_PATH &&
  chmod a+w $NIM_DIR_PATH
06/11/2026 4:41 PM UTC
sha256:b372223147c7b79c69247aa791c2012f68ca67134d66fc51e4838d367150122fRUN
mkdir -p /.cache &&
  chmod -R 777 /.cache
06/11/2026 4:41 PM UTC
sha256:77c5056a299ea08385afc5cb7986fb9439fe649ec36a455c922ab9fbf95d7e9fRUN
chmod -R 755 /opt/nvidia/entrypoint.d/
06/11/2026 4:41 PM UTC
1-10 of 164 items

Modal Content

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.