@dkanejs is right, and here is how you use it (the version number is important):
version: '3.4'
services:
my_image:
build:
context: .
network: host
@dkanejs is right, and here is how you use it (the version number is important):
version: '3.4'
services:
my_image:
build:
context: .
network: host