![]() Running Linux containers on Windows and platform support in Docker Compose requires Windows 1803 or greater. When this article was written, it has not yet appeared in version 3.x so we will continue to use file format version 2.4 for our Docker Compose yaml files. It is a know bug and the expectation is that the platform option will return soon. ![]() The platform configuration option was added to Docker Compose files starting with version 2.4 and then removed beginning with version 3.x. A Windows host has no problem running Linux containers but Docker Compose does not automatically support multi-platform hosts. A better solution is to take advantage of the Docker Compose networking and use the service name instead of the IP address. ![]() This is not a good solution since container IP Addresses change often. However, getting Windows and Linux containers to communicate without Docker Compose results in using the containers’ IP Addresses. Running Linux containers on a Windows host has been available for awhile now. Premier Developer Consultant Randy Patterson explores how to mix Windows and Linux containers with Docker Compose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |