merll / docker-fabric

Integration of Docker deployments into Fabric.
MIT License
79 stars 10 forks source link

unknown flag: --host-config #18

Open ambsw-technology opened 5 years ago

ambsw-technology commented 5 years ago

After upgrading to python 3.7, docker[tls]==3.7.1, docker-map==1.0.0 and docker-fabric==0.5.0, I'm running into the error unknown flag: --host-config when trying to create a container. I'm having trouble even finding the host-config option so I'm not clear what's causing this:

ambsw-technology commented 5 years ago

OK. It looks like I've narrowed this down to client.cli.DockerCommandLineOutput.get_cmd (and the nested _transform_create_kwargs). The key host_config wraps a HostConfiguration and is not being correclty expanded into CLI args.