Start your containers with this flag to expose the host string:ĭocker run -d -add-host host.docker. This is the simplest technique when you're working on a Windows or Mac machine.ĭocker Engine users on Linux can enable too via the -add-host flag for docker run If you're running a MySQL server on your host, Docker containers could access it by connecting to host.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |