mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-05 18:45:01 +01:00
migrate.sh: mount on /run for gotar
On the current F23 docker, mounting to /dev/shm does not work. Change it to /run for now.
This commit is contained in:
@@ -182,7 +182,7 @@ container_import(){
|
||||
|
||||
cd $importPath/containers/migrate-$containerID
|
||||
dockerBaseImageID=$(sed -n '2p' containerInfo.txt)||exit 1
|
||||
cat container-diff.tar|docker run -i -v "$GOTAR:/dev/shm/gotar" $dockerBaseImageID /dev/shm/gotar -xf -
|
||||
cat container-diff.tar|docker run -i -v "$GOTAR:/run/gotar" $dockerBaseImageID /run/gotar -xf -
|
||||
newContainerID=$(docker ps -lq)||exit 1
|
||||
newContainerName=$(docker inspect -f '{{.Name}}' $newContainerID)||exit 1
|
||||
newNotruncContainerID=$(docker ps -aq --no-trunc|grep $newContainerID)||exit 1
|
||||
|
||||
Reference in New Issue
Block a user