Update your Docker applications with confidence using a strong backup strategy and persistent data!

Ғылым және технология

=== Links ===
Show Notes
wiki.opensourceisawesome.com/...
Get the AwesomeOpenSource Merchandise
awesomeopensource.creator-spr...
Support my Channel and ongoing efforts through Patreon:
/ awesomeopensource
Buy Me a Coffee or Beer
paypal.me/BrianMcGonagill?cou...
=== Timestamps ===
00:00 Beginning
00:09 Introduction to Docker Application Updates
00:58 Thank you to my Patrons at Patreon and my Subscribers at KZread
01:35 Backup Strategy is EXTREMELY Important!
03:34 Persist Data with Volume Mapping
06:22 Why Stop the Containers for Backups?
08:35 How do I update my Docker applications?
11:01 Run an actual update using Docker Compose
13:40 Isn't there anything automated?
=== Contact ===
Twitter: @mickintx
Telegram: @MickInTx
Mastodon: @MickInTx@fosstodon.org
Try out SSDNodes VPS Services! Amazing Specs for incredibly low costs. I'm running a 32 GB RAM / $ CPU Server for only $9 a month! Seriously. FOr long term server usage, this is the way to go!
www.ssdnodes.com/manage/aff.p...
Get a $50.00 credit for Digital Ocean by signing up with this link:
m.do.co/c/a6a61ae55242
Use Hover as your Domain Name Registrar to get some great control over you domains / sub-domains:
hover.com/SHPaiirr
Support my Channel and ongoing efforts through Patreon:
/ awesomeopensource
What does the money go to?
To Pay for Digital Ocean droplets, donations to open source projects I feature, any hardware I may need to purchase for future episodes (which I will then give to a subscriber in a drawing or contest).
=== Attributions ===
Intro and Outro music provided by www.bensound.com

Пікірлер: 21

  • @lpseem3770
    @lpseem37707 ай бұрын

    Those are golden tips. I often back up my files and databases around 4-5 in the morning. Those are usually very quiet hours. Often containers are time capsule and, sadly, never updated. Even if a host OS is. Persistent storage is one of the most confusing term for container newbies and for all bad reasons. Keeping data and logs outside container is really important, but quick setup on a project site often omits them, just to look simple.

  • @AwesomeOpenSource

    @AwesomeOpenSource

    7 ай бұрын

    Indeed. They want you to have a simple way to get started, and you have to dig a bit sometimes to find the more "production" ready setup.

  • @TismoGaming
    @TismoGaming8 ай бұрын

    My issue is exactly what you stated in the beginning of this video. I just started doing docker and I didn’t know how to structure it well so every time I run a container it’s on a different section within the docker so right now I have like two docker sections or maybe three and each container it’s in a different area. Some of them are in the roots, some of them are in under a docker directory so it’s all messed up. How could I organize it to look like yours? Do I need to start fresh or is there somehow away to move those containers to the docker volume I created?

  • @AwesomeOpenSource

    @AwesomeOpenSource

    8 ай бұрын

    So, you should be able to migrate everything to a folder structure. You'd bring down the container, move the volumes from wherever they are now to your new folder, and the docker-compose file to that folder, then adjust the volume mappings in the docker-compose.yml to match where you have things now. Then bring the container back up. As long as everything is there, it should just come back up. If you need more help, jump over to discuss.opensourceisawesome.com and ask in the #help-me-please channel.

  • @TismoGaming

    @TismoGaming

    8 ай бұрын

    @@AwesomeOpenSource will work on it this week. Thank you Brian

  • @blissjunkie999

    @blissjunkie999

    8 ай бұрын

    Did the same thing. Until I learned about bind mounts. I try to run everything with them now. Tho mounting folders in docker desktop for windows. Was a definite learning experience. I really like portainer to deploy and maintain now.

  • @myhometvaccount9365
    @myhometvaccount93658 ай бұрын

    hmmm ... all im doing (probably wrong) is after installing syncthing on docker host, syncing my docker folder one way with a remote syncthing host, with versioning setup on the remote syncthing host. (the syncthing host also backs the synced docker folder (encrypted) to onedrive overnight using duplicati)

  • @AwesomeOpenSource

    @AwesomeOpenSource

    7 ай бұрын

    As long as it's working for you, then use it. I would hope syncthing can tell if something is being actively changed, and either wait for it to complete before syncing it, or skip it til the next sync to avoid corruption of data.

  • @fn-l
    @fn-l7 ай бұрын

    Hi, could you please do a video about a simple open source e-commerce solution like thirtybees!? I would appreciate. Thanks.

  • @AwesomeOpenSource

    @AwesomeOpenSource

    7 ай бұрын

    Let me take a look and see what I can find.

  • @Quetrix1
    @Quetrix17 ай бұрын

    Hey. i just wonder do u know any Open Source leave management system? for example in Odoo there is time off module and its not bad however iam not able to configure it with Authentik for SSO

  • @AwesomeOpenSource

    @AwesomeOpenSource

    7 ай бұрын

    I believe OrangeHRM had some leave management built into it. I did a video on it a while back. Seemed pretty full featured. kzread.info/dash/bejne/eJp-0s9_qMndYtY.htmlsi=KStR0dC0ouTJwTdk

  • @joehelfrich7456
    @joehelfrich74567 ай бұрын

    Is there a way to transition a container to volumes without losing data if you didn't understand how important volumes were when you were starting out? Asking for a friend. *cough*

  • @AwesomeOpenSource

    @AwesomeOpenSource

    7 ай бұрын

    So, there is a 'docker cp' command that may help you move the data out of your container onto your host. Here's a link to their docs on it. Hopefully it will help. docs.docker.com/engine/reference/commandline/cp/ Once you copy the data to your host, make sure to put it where you want the volumes mapped, and then start it back up.

  • @stubush143
    @stubush1438 ай бұрын

    Does this process work the same if you are creating the containers in Portainer?

  • @AwesomeOpenSource

    @AwesomeOpenSource

    7 ай бұрын

    Portainer is a little different. It does have it's own backup feature, which I believe backs up it's configurations and stacks. The volumes are stored in a standard location, so figure out where that is and make sure to have a backup of the volume data as well.

  • @77m3
    @77m38 ай бұрын

    hi man pls im looking for an app foss and self hosted to download anything i want from the web automatically example: any new version of ISO, apk, exe, pdf etc.. any new version automatically download to the server any app do that ?

  • @AwesomeOpenSource

    @AwesomeOpenSource

    7 ай бұрын

    I don't know of one off the top of my head, but I'll keep an eye out.

  • @RicardoFranciscoMendes
    @RicardoFranciscoMendes8 ай бұрын

    first

  • @AwesomeOpenSource

    @AwesomeOpenSource

    8 ай бұрын

    indeed!

Келесі