Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Created December 29, 2022 17:53
Show Gist options
  • Save ajeetraina/1a8364e40f3f3971b408bf0ae92404eb to your computer and use it in GitHub Desktop.
Save ajeetraina/1a8364e40f3f3971b408bf0ae92404eb to your computer and use it in GitHub Desktop.
What does 'docker dev start' CLI do?
The docker dev start command is a development command that is used to start a development environment in Docker Desktop. This command is typically used when developing applications that run in Docker containers, as it allows you to easily test and debug your code within a containerized environment.
To use the docker dev start command, you will need to have a Docker Compose file that defines the services that make up your development environment. You can then run the docker dev start command, followed by the name of the Compose file:
`docker dev start -f docker-compose.yml`
This will start the development environment defined in the Compose file. You can then access your application and make changes to the code, which will be automatically reflected in the running containers.
It's worth noting that the docker dev start command is a development command and is not intended for production use. You should use a different approach, such as deploying your application to a production environment, when deploying your application to users.
You can find more information about the docker dev start command and how to use it in the Docker documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment