python docker api example

Solutions on MaxInterview for python docker api example by the best coders in the world

showing results for - "python docker api example"
Jana
02 Jun 2019
1import docker
2client = docker.from_env()
3container = client.containers.run("bfirsh/reticulate-splines", detach=True)
4print(container.id)
5