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

Running a docker container with low level API #2358

Closed
LukeJohnson29 opened this issue Jun 12, 2019 · 1 comment
Closed

Running a docker container with low level API #2358

LukeJohnson29 opened this issue Jun 12, 2019 · 1 comment

Comments

@LukeJohnson29
Copy link

I'm unsure about how exactly you run a container with the low level API. I tried a more complex one that I created a port configuration and host configuration for and it didn't appear to work. After that I tried running the 'hello-world' image and even that appears to not run. I am using the 'client.create_container('hello-world')' method like that.

@shin-
Copy link
Contributor

shin- commented Jun 12, 2019

Like so:

ctnr = client.create_container('hello-world')
client.start(ctnr)

@shin- shin- closed this as completed Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants