dotcloud/docker — pull request #992 by unclejack (2013-06-22 16:00:35+00:00)
Title: use --numeric-owner for tar and untar

This issue was first discovered in #791. When a docker image is exported and imported again, the users and groups can get messed up.
The right thing to do is to not try and use the host's user to user id and group to group id mappings and just use the numeric values.

Using dokku's buildstep, I've tried to import it and start pgsql in a container run from the imported image.
It complained that user id 112 doesn't exist.

```--numeric-owner``` was added both to compression and decompression. That should ensure everything is OK.

The tests are passing and no extra tests are needed.