r_13

joined 2 years ago
[–] r_13@lemmy.world 1 points 7 months ago

I haven't used secrets but I would go through the docker compose secrets docs

https://docs.docker.com/compose/how-tos/use-secrets/

At a glance it seems to be informative, but I'm not sure if it explains in depth how it is doing things under the hood.

[–] r_13@lemmy.world 2 points 7 months ago (2 children)

I tend to think of docker containers like light virtual machines.

You can start with an image of a very simple bare operating system, or from an OS with a few things installed (in my case I have lately been using images from dockerhub under nvidia/cuda-ubuntu so that my container spins up with ubuntu and the drivers and SDK for my GPU).

Then essentially the Dockerfile becomes the sandbox from which to test installation scripts, see what works by trial and error if necessary, to install the programs you want -- if you make a mistake or the install script fails as in the comment above, you can just kill the container and spin up a new one without the "doesn't really work wrong but its never quite right again" issue :)

I know this does sound like 'rtfm' but I definitely have made a lot of use of the Docker manuals: https://docs.docker.com/manuals/

These manuals, plus stack overflow searching for Dockerfile tips, and github repos for the software I want to use that sometimes do contain Dockerfiles, have been enough to get me acquainted with spinning up my own containers and installing what I need, and use docker compose to run multiple containers on a single host that can talk to each other. Beyond that, I had to search a bit harder (mostly on StackOverflow, but also a bit of tail-chasing using ChatGPT) to learn how to configure overlay networks to allow containers to talk to one another from on different servers, and using docker stack to spin up a swarm of containers as services on a cluster.

[–] r_13@lemmy.world 19 points 7 months ago (7 children)

I 100% learnt to use docker specifically to avoid the exact situation you described.

[–] r_13@lemmy.world 3 points 8 months ago

I just spent half an hour yesterday uninstalling all apps, registry entries and in-program options for Copilot in Windows and MS Office... but I still can't get rid of the Copilot button in Outlook. Searching for answers I ended up at the Microsoft support forums and clicked a link to office dot com... and realized there that the entire ecosystem is now called MS365 Copilot App (formerly known as Office)... so I suspect there will be NO way to remove this stuff in the future, and probably that MS365 Copilot will eventually replace Windows itself.

[–] r_13@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Second that recommendation for Tildes. Not all posts are long but most posters tend to contribute well thought out opinions and the discussion I have seen is uniformly civil.

[–] r_13@lemmy.world 14 points 2 years ago* (last edited 2 years ago) (17 children)

Your English language is excellent, is that something you can use to your benefit? Think teaching, translation, document services

[–] r_13@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

I'm not in the area or an expert but this link seems to contain a lot of useful leads.

https://www.wellnessvietnam.com/guide-to-mental-health-services-in-vietnam/

[–] r_13@lemmy.world 10 points 2 years ago

Yeah it wasn't so long ago that hard drive storage was more expensive than spindles of CD-Rs and that was around the time that internet and torrenting were taking off. People used to burn CDs full of movies to share and make room to download more. In that use case a unit of 700 MB on write once read many storage was useful if cheap.

[–] r_13@lemmy.world 10 points 2 years ago (1 children)

Does that mean you could create 30 days worth of rolling, expiring backups? Even having 4 weekly backups on hand at any moment of disaster recovery would be useful.