Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Manipulating Docker COntainers

Featured Replies

Hi Guys,

 

I think this is the last piece of the puzzle that I need. I have created  Dockers and templates using Github, Docker Autobuild etc.

 

I have one of the Dockers which I created, template, repository. To this docker, I have manually added configuration stuff, cron jobs, scripts, and other assorted additional programs that are not part of the Dockerfile.

 

Is it possible to save this machine as a file or repo, or something that includes all that added stuff. Googling around, I have performed the following command.

docker save nameofmycontainer > /mnt/cache/appdata/backupdocker.tar

 

File is almost 400MB, which is probably right for what it is.

 

If in the future, I have to either remove the container from the Docker page, or even re-create the full Docker image from >Settings>Docker. How do I add this backup back so that I can then manage it from the list in the DockerMan page in the WebGUI?

 

Any advice is greatly appreciated. I think this would be valuable information for reference.

 

Thanks.

 

H.

 

 

 

Hi Guys,

 

I think this is the last piece of the puzzle that I need. I have created  Dockers and templates using Github, Docker Autobuild etc.

 

I have one of the Dockers which I created, template, repository. To this docker, I have manually added configuration stuff, cron jobs, scripts, and other assorted additional programs that are not part of the Dockerfile.

 

Is it possible to save this machine as a file or repo, or something that includes all that added stuff. Googling around, I have performed the following command.

docker save nameofmycontainer > /mnt/cache/appdata/backupdocker.tar

 

File is almost 400MB, which is probably right for what it is.

 

If in the future, I have to either remove the container from the Docker page, or even re-create the full Docker image from >Settings>Docker. How do I add this backup back so that I can then manage it from the list in the DockerMan page in the WebGUI?

 

Any advice is greatly appreciated. I think this would be valuable information for reference.

 

Thanks.

 

H.

 

 

the best solution is to create/use a git and a dockerhub account.

 

fork the original container in git, edit the dockerfile to incorporate your changes, create an automated build in dockerhub, a template back in  github and share with the community.

  • Author

 

the best solution is to create/use a git and a dockerhub account.

 

fork the original container in git, edit the dockerfile to incorporate your changes, create an automated build in dockerhub, a template back in  github and share with the community.

 

Unfortunately, this is hard to do. Thre are many customizations that I have done to the image that makes it nex to impossible to re-trace all my steps. Things like creating custom mounts to non unRAID computers, custom cronjobs... It would be nice to be able to save the changes and restore them if there is a need to remove the container or the entire image file.

 

If there is no way of doing this at all, I can make the effort of creating a new Dockerhub and all... Although I doubt anyone would be interested in stuff I have in a cronjob, server names, passwords...

 

Thanks.

sounds like a candidate for a VM, it'll give you more flexibility.

 

the best solution is to create/use a git and a dockerhub account.

 

fork the original container in git, edit the dockerfile to incorporate your changes, create an automated build in dockerhub, a template back in  github and share with the community.

 

Unfortunately, this is hard to do. Thre are many customizations that I have done to the image that makes it nex to impossible to re-trace all my steps. Things like creating custom mounts to non unRAID computers, custom cronjobs... It would be nice to be able to save the changes and restore them if there is a need to remove the container or the entire image file.

 

If there is no way of doing this at all, I can make the effort of creating a new Dockerhub and all... Although I doubt anyone would be interested in stuff I have in a cronjob, server names, passwords...

 

Thanks.

 

 

use the docker commit command on a stopped container to create a snapshotted image that you can push to docker hub.

 

search the docker documentation for the commit command.

Like sparkly said, you can create docker containers that way without even a dockerfile and push them to dockerhub.

 

You can then add them to unraid with a custom xml

 

Don't expect anyone else to install and use them though  :P they will have no idea what the hell is inside that container without a dockerfile or a linked github repo lol

Archived

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.