[GH-ISSUE #16] Suggestion: add instructions for connecting private repository #5

Closed
opened 2026-03-03 19:10:48 +03:00 by kerem · 1 comment
Owner

Originally created by @junsung-cho on GitHub (Dec 26, 2023).
Original GitHub issue: https://github.com/productiveops/dokemon/issues/16

Via command

Run following command:

docker exec -it dokemon docker login {URL} -u {USERNAME}
# OR
docker exec -it dokemon-agent docker login {URL} -u {USERNAME}

Enter Password:

Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

Via volume mapping

Add config.json mapping to compose.yml:

    volumes:
      - /path/to/.docker/config.json:/root/.docker/config.json

The config.json located in home path by default (e.g., /home/ubuntu/.docker/config.json)

Originally created by @junsung-cho on GitHub (Dec 26, 2023). Original GitHub issue: https://github.com/productiveops/dokemon/issues/16 # Via command Run following command: ```bash docker exec -it dokemon docker login {URL} -u {USERNAME} # OR docker exec -it dokemon-agent docker login {URL} -u {USERNAME} ``` Enter Password: ```bash Password: WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ``` # Via volume mapping Add `config.json` mapping to `compose.yml`: ```yaml volumes: - /path/to/.docker/config.json:/root/.docker/config.json ``` The `config.json` located in home path by default (e.g., `/home/ubuntu/.docker/config.json`)
kerem 2026-03-03 19:10:48 +03:00
Author
Owner

@salilponde commented on GitHub (Dec 26, 2023):

Thank you, I will also add an option in the UI to add registries.

<!-- gh-comment-id:1869287363 --> @salilponde commented on GitHub (Dec 26, 2023): Thank you, I will also add an option in the UI to add registries.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dokemon#5
No description provided.