Docker Service Won't Start

1 reply
cmcfarland
1 post

Left last night and my two Windows Server 2016 VM's were running without an issue.  When I came in this morning, both are in a paused state.  When I try to resume, gives message that they are resuming but nothing happens.  I noticed that the docker service is not starting.  I click on <Start> and I get a message that the service is starting but nothing happens.  Any ideas?  I have tried rebooting/shutting down the antsle device to no avail.

daniel.luckStaff
551 posts

Hi cmcfarland:

I'm not sure why the Windows Servers would be paused.

Here are some instructions on how to get docker service working again:

This procedure will get docker service working again but WILL WIPE OUT existing Docker Containers:

Stop and wipe all current docker files:
service docker stop
rm -rf /var/lib/docker/*

Try to mount:
zfs mount antlets/_docker

If the command above fails saying antlets/_docker doesn't exist, run:
zfs create antlets/_docker -o mountpoint=/var/lib/docker

check that /etc/docker/daemon.json contains
{ "storage-driver": "zfs" }

Start docker:
service docker start

Check docker using zfs
docker info | grep zfs

You can get the default docker images running the upgrade-antman command:
upgrade-antman

Make sure the docker service starts after a reboot
eL 2.0.0: systemctl enable docker
eL 0.x.x: rc-update add docker default

▲ 2

Log in to reply. New here? It takes a minute.