May 21, 201511 yr 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.
May 21, 201511 yr 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.
May 21, 201511 yr 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.
May 21, 201511 yr 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.
May 22, 201511 yr 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 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.