Skip to content

Is it possible to use private Docker Hub images? #5179

Answered by Chuxel
bmalehorn asked this question in Codespaces
Discussion options

You must be logged in to vote

A couple of things to check.

  1. First, change registry.hub.docker.com to https://index.docker.io/v1/.

  2. Be sure the secrets you've created are assigned to the repository you'll be using them in if you set them at the user or organization level.

  3. You may need to stop and then start the Codespace you are in for the new environment variables to be passed into the container. (F1 or Ctrl+Shift+P > Codespaces: Stop Current Codespace)

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
8 replies
@bmalehorn
Comment options

@divyenduz
Comment options

@Chuxel
Comment options

@divyenduz
Comment options

@Chuxel
Comment options

Answer selected by Chuxel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Chuxel
Comment options

@thoughtfuldata
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Product Feedback
5 participants