search

Home  >  Q&A  >  body text

docker-images - docker in docker 是直接在DockerFile 里直接apt-get install ?

我想在docker里用shell处理一些镜像,打包什么的,不想直接装在宿主机上,比如从日本节点编译镜像,然后拉回来再发布到杭州节点.

我想大声告诉你我想大声告诉你2757 days ago785

reply all(1)I'll reply

  • 習慣沉默

    習慣沉默2017-04-27 09:04:29

    Yes, it can be so much. Just add the command to install Docker in the RUN command in the Dockerfile. However, using Docker outside of Docker is also a good choice, hanging the docker on the host into the container.

    reply
    0
  • Cancelreply