Skip to content

Missing note about authenticating to ghcr.io #109

@ulrikpedersen

Description

@ulrikpedersen

❤️ the new (feb 24) version of the tutorials! Working my way through the getting started, I found that deploying the first IOC locally fails:

(ec-venv) ukp@osloxf04:~/EPICS/bl01t$ ec deploy-local services/bl01t-ea-test-01
Deploy TEMPORARY version 2024.3.cb1f-b from /home/ukp/EPICS/bl01t/services/bl01t-ea-test-01 to the local docker instance
Are you sure ? [y/N]: y
Unable to find image 'ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.2.1' locally
docker: Error response from daemon: Head "https://ghcr.io/v2/epics-containers/ioc-adsimdetector-linux-runtime/manifests/2024.2.1": denied: denied.
See 'docker run --help'.

Command Failed:
docker run -dit --net host --restart unless-stopped -l is_IOC=true -l version=2024.3.cb1f-b -v bl01t-ea-test-01_config:/epics/ioc/config/  --name bl01t-ea-test-01 ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.2.1

It is because I haven't authenticated to ghcr.io (worked when I did login).

Instructions/links on how to authenticate to ghcr.io with docker on commandline, including information about what kind of github authentication token is required and what permissions are needed would be really helpful on https://epics-containers.github.io/main/tutorials/deploy_example.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions