3/19/2023 0 Comments Docker for mac compose![]() ![]() If you want to use docker compose to manage a multi-container setup with a docker-compose file, use the machine key in your config.yml file and use docker-compose as you would normally (see machine executor documentation here for more details). Using docker compose with machine executor To interact with a running service, use docker and a container running in the service’s network. Note: The primary container runs in a separate environment from Remote Docker and the two cannot communicate directly. See the Example docker-compose Project on GitHub for a demonstration and use the full configuration file as a template for your own projects. Name: Start container and verify it is workingĭocker run -network container:contacts \Īppropriate/curl -retry 10 -retry-delay 1 -retry-connrefused Example project In the following example, the whole system starts, then verifies it is running and responding to requests: - run: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |