Docker Container ID's Changing


kl0wn

Recommended Posts

Howdy,

 

I have scripts setup to reboot my docker containers nightly be running 'docker restart <container id goes here>'. I noticed that this wasn't occurring nightly so I dug a little deeper. I compared my scripts to the Container ID's and found that they had changed. I saw some orphaned images, and thought it was a fluke and that's what caused the container ID to change. However, I just checked again and found that my Container ID's have again changed with no orphaned images in site. Am I wrong to assume that the Container ID's should remain the same or is something wonky going on?

 

NOTE: I also have my Docker's set to auto-update at 6AM every day. 

 

Thanks

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.