When provided with a pre-built container (probably from a developer) outside of a docker
registry, you can use the docker load command to import the
container.
Run:
docker load -i <container package>.tar
Verify the container image was loaded:
docker images
You will see a container listed with an id only.
You can also check out hub.docker.com to 'docker pull' pre-built images.
After pulling a docker image, you will also see them listed with 'docker images'.
Next: Tagging Container Images
Next: Tagging Container Images
No comments:
Post a Comment