10/31/2023 0 Comments Speed up docker on macBy using this configuration the main application container won’t start unless the database container has started. This configuration is optional - it all depends on how you set up your dependent containers in your docker-compose.yml file. On mac a virtual machine running Linux is needed to run docker. command: bash -c "while ! To prevent this we can make the following change to your docker-compose.yml file. Containers that host just a microservice rather than an entire monolithic app will start faster because they have less code to run. If this happens then your main application container will not get started. If you want to start the sync process first and then start the containers separately you can do it with the following commands: docker-sync clean docker-sync start docker-compose upĪfter setting up docker-sync you may face the issue that your main application container tries to get up and running before the database container spins up. To start the container you can use docker-sync-stack start - this command will start your sync process as well as the server. While you can use Lando on your host Windows machine and have it talk to the Docker Desktop WSL2 backend its probably best to spin up another Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |