Docker private repo with multiple images

Can we host multiple images on single private repo ?

Like

  • Docker copy container volume files to host on first run
  • docker: Only execute command in when container is running
  • How to Force Docker to release storage space after manual delete of file in volumes and containers?
  • Cannot finde module 'express' (node app with docker)
  • Jenkins build an image for Docker?
  • Jenkins Docker container with root permissions?
    1. ubuntu:12.04
    2. ubuntu:14.04

    So My private repo like MYREPO:ubuntu:12.04 and ubuntu:14.04

  • Windows base image for docker
  • Beanstalkd in docker
  • sha256 of locally built docker image
  • Docker Compose env_file in Multicontainer Elastic Beanstalk
  • Docker Swarm shared volumes
  • How to make Docker container accessible to other network machines through IP?
  • One Solution collect form web for “Docker private repo with multiple images”

    Yes.

    # Create a container
    docker run --name image1 -it busybox echo Image1
    # Commit container to new image
    docker commit image1 amjibaly/stuff:image1
    # Push to dockerhub repo
    docker push amjibaly/stuff:image1
    
    # Create a second container
    docker run --name image2 -it busybox echo Image2
    # Commit container to new image
    docker commit image2 amjibaly/stuff:image2
    # Push to same dockerhub repo with different tag
    docker push amjibaly/stuff:image2
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.