Skip to content

Commit

Permalink
Merge pull request #161 from rhatdan/man
Browse files Browse the repository at this point in the history
change use of auth.json to use local file rather then XDG_RUNTIME_DIR
  • Loading branch information
sallyom authored Apr 5, 2024
2 parents 91d3af7 + acf626c commit 38f66d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion recipes/natural_language_processing/chatbot/bootc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ cd recipes/natural_language_processing/chatbot
# commands within the container build. If the registry you are pulling images
# from requires authentication, then you will need to volume mount the
# auth_json file with SELinux separation disabled.
podman login --auth-file auth.json quay.io/yourrepo
podman build --build-arg "sshpubkey=$(cat ~/.ssh/id_rsa.pub)" \
--security-opt label=disable \
-v ${XDG_RUNTIME_DIR}/containers/auth.json:/run/containers/0/auth.json \
-v ./auth.json:/run/containers/0/auth.json \
--cap-add SYS_ADMIN \
-t quay.io/yourrepo/youros:tag .

Expand Down
3 changes: 2 additions & 1 deletion recipes/natural_language_processing/rag/bootc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ cd recipes/natural_language_processing/rag
# commands within the container build. If the registry you are pulling images
# from requires authentication, then you will need to volume mount the
# auth_json file with SELinux separation disabled.
podman login --auth-file auth.json quay.io/yourrepo
podman build --build-arg "sshpubkey=$(cat ~/.ssh/id_rsa.pub)" \
--security-opt label=disable \
-v ${XDG_RUNTIME_DIR}/containers/auth.json:/run/containers/0/auth.json \
-v ./auth.json:/run/containers/0/auth.json \
--cap-add SYS_ADMIN \
-t quay.io/yourrepo/youros:tag .

Expand Down

0 comments on commit 38f66d8

Please sign in to comment.