Jump to content

Docker - No Such Container - After Power Failure


techno_81

Recommended Posts

Posted

Ok, so a power failure is not great, but sometimes the UPS just doesn't hold out long enough.

 

Every time the server is powered off i have one Docker Application that will not start and has to be delete and re-added.

 

I'm fairly new to Docker and have got by the best i can.

 

The Repository I'm using is: bradsjm/homeseer3

 

This is for HomeAutomation, so really need this to come back online ASAP.

 

What am i missing?

Where can i get more debug details:

Model: Custom
M/B: ASUSTeK COMPUTER INC. - SABERTOOTH 990FX R2.0
CPU: AMD FX™-6300 Six-Core @ 3500
HVM: Enabled
IOMMU: Enabled
Cache: 288 kB, 6144 kB, 8192 kB
Memory: 16 GB (max. installable capacity 32 GB)
Network: bond0: fault-tolerance (active-backup), mtu 1500
 eth0: 1000 Mb/s, full duplex, mtu 1500
Kernel: Linux 4.14.40-unRAID x86_64
OpenSSL: 1.0.2o
Uptime: 0 days, 00:24:19
 
 

Thanks

 

Posted
2 hours ago, techno_81 said:

Every time the server is powered off i have one Docker Application that will not start and has to be delete and re-added.

The logs from the container when you try to start it would be a good start (you can get them from the docker page).  Additionally, a screen shot of any error that appears when you try to start it.

 

2 hours ago, techno_81 said:

sometimes the UPS just doesn't hold out long enough

Lower the time out before the system starts to shut down.  In my area, I figure that any power failure longer than 60 seconds will be quite a while, so the system powers itself down at that time.

Posted

Perhaps your docker.img file was corrupted by the power outage. If so you will need to delete it and rebuild, which is quite a trivial task if you have a half-decent Internet connection.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...