Is docker in docker directly in DockerFile?

  docker, question

I want to use shell in docker to process some images, pack them or something, instead of installing them directly on the host computer, such as compiling images from Japanese nodes, then pulling them back and publishing them to Hangzhou nodes.

Yes, there can be so many. In DockerfileRUNAdd the command to install Docker to the command. However, using docker outside of Docker is also a good choice, hanging the Docker on host in the container.