Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

unknown flag: --host-config #18

Open
ambsw-technology opened this issue Mar 22, 2019 · 1 comment
Open

unknown flag: --host-config #18

ambsw-technology opened this issue Mar 22, 2019 · 1 comment

Comments

@ambsw-technology
Copy link

ambsw-technology commented Mar 22, 2019

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:

  • a py3 issue (e.g. the wrong flag is created)
  • a feature removed from docker
  • an issue in docker-py
@ambsw-technology
Copy link
Author

ambsw-technology commented Mar 22, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant