How to build a docker image from a Dockerfile

bigfoxtail

Cadet
Joined
Dec 4, 2019
Messages
3
I need to build an image from Dockerfile, but I can't get to the network after using the `docker build` command.
Is there any way to create a docker image?
thanks
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Make sure you use
Code:
--network host
when you run the build command.
 
Top