- 3,789
- 1,297
- NAS
- DS4l8play, DS202j, DS3623xs+, DSM 7.3.3-25847
I downloaded the lastest simply-shorten image today. After clearing and restarting the container I was greeted with "Docker API has failed". I repeated the registry download hoping to correct a corrupt download, but the same error message appeared. FWIW, I had previously backed up the container setting.
O Snap! What to do?
O wait... What about Portainer? I launched Portainer and there was the failed container along with my image history. Admittedly I'm clueless, but I decided to delete both copies of the faulty image. To remove the most current one (tagged:latest) required me to delete the container first. Fine. POOF! Gone.
Now I was staring at the image the last worked for me and seeing it was untagged, I selected it and clicked the Tag button, which appended the "latest" tag that image. I sensed I was getting closer.
I closed Portainer and located the "latest" image and launched it. But wait... I had already backed up the working container. So I closed the launched image which was waiting for me, hungering for ports and variables, and instead, I selected the container tab and imported the container settings from my backup. Seconds later the container appeared.
But would it launch?
With a nervous click, I started the container... No error window? WOOT!
Now to launch the container URL and see if it still worked. TOUCHDOWN.
Hopefully, this crazed write-up will help the novice who finds themself in such a predicament.
Key item: Portainer
2nd best item: Backed up container settings
... and a fearless demeanor
O Snap! What to do?
O wait... What about Portainer? I launched Portainer and there was the failed container along with my image history. Admittedly I'm clueless, but I decided to delete both copies of the faulty image. To remove the most current one (tagged:latest) required me to delete the container first. Fine. POOF! Gone.
Now I was staring at the image the last worked for me and seeing it was untagged, I selected it and clicked the Tag button, which appended the "latest" tag that image. I sensed I was getting closer.
I closed Portainer and located the "latest" image and launched it. But wait... I had already backed up the working container. So I closed the launched image which was waiting for me, hungering for ports and variables, and instead, I selected the container tab and imported the container settings from my backup. Seconds later the container appeared.
But would it launch?
With a nervous click, I started the container... No error window? WOOT!
Now to launch the container URL and see if it still worked. TOUCHDOWN.
Hopefully, this crazed write-up will help the novice who finds themself in such a predicament.
Key item: Portainer
2nd best item: Backed up container settings
... and a fearless demeanor