Newer
Older
Andreas Klöckner
committed
#! /usr/bin/bash
if test "$1" = ""; then
echo "$0 imagename"
exit 1
fi
CONTAINER=$(docker create "$1")
docker export "CONTAINER" | \
docker import \
-c "MAINTAINER Andreas Kloeckner <inform@tiker.net>" \
-c "EXPOSE 9941" \
-
docker rm -f $CONTAINER