Docker · Command
docker init
Creates Docker starter files for a project. It asks setup questions, then generates files such as a Dockerfile and Compose file so the project can run in a container.
Last updated
Syntax
docker init [OPTIONS]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
.dockerignoreDockerfilecompose.yamlREADME.Docker.mddocker compose up --build