We have to use the ‘–network’ option and specify ‘host’ as an argument to use the host network driver while running a container. $docker run -d -network host -name my_con nginx:alpine Web development, programming languages, Software testing & others Start Your Free Software Development Course
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |