r_13

joined 2 years ago
[–] r_13@lemmy.world 1 points 4 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 4 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 4 months ago (7 children)

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

[–] r_13@lemmy.world 3 points 5 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 12 points 1 year ago (1 children)

There's history in Switzerland of creating accidental earthquakes by attempting to harness geothermal energy in 2006

https://www.wired.com/story/swiss-rock-lab/

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

I read that they closed the store for the stunt. So it was all charade. The photos of him serving food to a customer walking up to the drive thru window when the site was closed for business are even more laughable in that context.

[–] 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 13 points 2 years ago* (last edited 2 years ago) (1 children)

It looks right to me?

1685424 X 24.3 / (1024 X 1024) = 39.058

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

Can confirm. Am PhD.

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

Perfect cake for Poison Ivy theme birthday. Bonus points for further explosion

[–] r_13@lemmy.world 31 points 2 years ago (4 children)

Politicians should wear company logos like racing drivers so we know who they are sponsored by.

 

Google search result for "does Australia exist?" indicating a controversial result that may be changing quickly...

view more: next ›