Robert Kowalski
02/11/2022, 2:28 PMdocker run --mac-address="70:ca:9b:ce:67:ae" IMAGE
So I want set constant mac address when define docker storage as:
storage = Docker(
env_vars={"PYTHONPATH": "$PYTHONPATH:/pipeline"},
files={f'{parent_dir}': '/pipeline'},
image_tag=os.environ.get('IMAGE_TAG'),
image_name=flow_name,
stored_as_script=True,
path='/pipeline/flow.py',
extra_dockerfile_commands=[]
)
Someone has tried to achieve something similar ?Kevin Kho
DockerRun
and the Docker run calls this and there should be a line take takes in the mac address for that call. Would you like to make an issue/PR for it?DockerRun
to accept it and propagate it to the agent create_container
Robert Kowalski
02/11/2022, 2:51 PM