Docker私人回购与多个图像

我们可以在单个私人回购上托pipe多个图像吗?

喜欢

  1. Ubuntu的:12.04
  2. Ubuntu的:14.04

所以我的私人回购喜欢MYREPO:Ubuntu的12.04和Ubuntu的:14.04

是。

# 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