Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BB stalls on the following :CreateContainer call #12

Closed
dmg46664 opened this issue May 7, 2022 · 2 comments
Closed

BB stalls on the following :CreateContainer call #12

dmg46664 opened this issue May 7, 2022 · 2 comments

Comments

@dmg46664
Copy link

dmg46664 commented May 7, 2022

Hello,

I might be doing something wrong but the following stalls for v1.41

  (c/invoke dr-containers {:op :ContainerCreate
                           :params {:name "daemon"}
                           :data   {:image "daemon"
                                    :ExposedPorts {"8888/tcp" {}}
                                    :HostConfig {
                                                     :PortBindings {
                                                                    "8888/tcp"
                                                                    [{ :HostPort 8888 }] }
                                                     }
                                    }})

If I remove :HostConfig it gets created but not in the way I want.

Was trying to follow https://stackoverflow.com/a/39149767/93074
Nothing in the official docs link looked edifying except that "HostPort" was an int.

(c/doc dr-containers :ContainerCreate)

Thanks

@dmg46664
Copy link
Author

dmg46664 commented May 7, 2022

Huh, how did I get that wrong. It wasn't an int.. 🤔
Apologies, closing.

@dmg46664 dmg46664 closed this as completed May 7, 2022
@lispyclouds
Copy link
Owner

Ah just seeing it now, glad that it worked out! 😄

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

No branches or pull requests

2 participants