import docker
client = docker.from_env()

client.container.run("nginx,detach=true")