-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Description
When I run the example from the README file:
import docker
import dockerpty
client = docker.Client()
container = client.create_container(
image='busybox:latest',
stdin_open=True,
tty=True,
command='/bin/sh',
)
dockerpty.start(client, container)I'm getting an error when the sh terminal is open:
/ # [Errno 32] Broken pipe
if I run the equivalent docker command it works:
docker run -ti busybox:latest /bin/sh
michaelbarton