Open junsung-cho opened 10 months ago
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
Add config.json mapping to compose.yml:
config.json
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)
/home/ubuntu/.docker/config.json
Thank you, I will also add an option in the UI to add registries.
Via command
Run following command:
Enter Password:
Via volume mapping
Add
config.json
mapping tocompose.yml
:The
config.json
located in home path by default (e.g.,/home/ubuntu/.docker/config.json
)