Skip to content

Suggestion: add instructions for connecting private repository #16

@junsung-cho

Description

@junsung-cho

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions