mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
improve restart of osx script
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
396bb8f4e8
commit
8a5f15a6bd
@ -22,8 +22,4 @@ else
|
|||||||
cp alpine/kernel/x86_64/vmlinuz64 "$mobydir"/vmlinuz64
|
cp alpine/kernel/x86_64/vmlinuz64 "$mobydir"/vmlinuz64
|
||||||
fi
|
fi
|
||||||
|
|
||||||
killall com.docker.driver.amd64-linux
|
docker run --privileged --pid=host justincormack/nsenter1 /sbin/reboot
|
||||||
|
|
||||||
sleep 20
|
|
||||||
|
|
||||||
time docker ps
|
|
||||||
|
Loading…
Reference in New Issue
Block a user