Skip to content

Instantly share code, notes, and snippets.

@christopherobin
Created June 9, 2015 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christopherobin/645e060b24a5a118f77c to your computer and use it in GitHub Desktop.
Save christopherobin/645e060b24a5a118f77c to your computer and use it in GitHub Desktop.
Docker commit bug
# First shell
docker run --name foobar --rm -t -i ubuntu bash
# Another shell
# Change URL to docker API, under linux you can quickly expose it: socat -d -d TCP-LISTEN:8080,fork UNIX:/var/run/docker.sock
curl -XPOST 'localhost:8080/commit?container=foobar&comment=foo&repo=test/foobar@foo:bar'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment