From the course: Docker for Developers: Create and Manage Docker Containers

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Working with an image repository

Working with an image repository

- [Instructor] If you're working on a team, you need an image repository to share images among team members. This will ensure that everyone has the latest version of your app to work on. A repository is a storage location on Docker Hub where your Docker images are organized and versioned for sharing or reuse. To get started with a repository, head over to hub.docker.com and create a free account. Once you've done that, click the Create Repository button on the right side of the screen. Name the repository docker demo. We're going to leave this as a public repository. Then click Create. Once that's done, on the right side of the screen, you'll see a Docker push command. It provides you with what your image tag should be in order to push your image to this repository. Before you push your image to your repository, you'll need to tag it properly. In a terminal type docker tag. Then the source image, which is…

Contents