this post was submitted on 01 Jul 2023
10 points (100.0% liked)

DevOps

1670 readers
1 users here now

DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.

Rules:

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I'll start:

When I was first learning to use Docker, I didn't realize that most tutorials that include a database don't configure the database to persist. Imagine my surprise when I couldn't figure out why the database kept getting wiped!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago (4 children)

Using Docker Desktop at work without a license. Use Rancher Desktop instead. It's essentially like what Oracle did with the Oracle JDK. To my knowledge they haven't gone after anyone but it is technically a license violation to use it for work without a license. I could not (easily) find a way to install Docker on Mac without using Docker Desktop but Rancher Desktop worked fine.

Also, podman exists as a drop in replacement for Docker for the curious. I haven't tried it myself though so this isn't a recommendation.

[–] [email protected] 3 points 1 year ago

Podman is great and now is compatible with the docker engine. Having rootless containers by default is awesome! There's also a utility called podman-compose that I also highly recommend.

[–] [email protected] 3 points 1 year ago

I can vouch for podman. It can run daemonless and rootless, symlinks to docker.sock and the ui works with both kubernetes (kind & minikube) and most of the docker desktop extensions.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

A workmate mentioned it to me recently. Fortunately, our company does buy the license. Will be contacting the team responsible for it on Monday.

My manager is very forgetful, so not surprised he didn't mention it.

[–] [email protected] 1 points 1 year ago (2 children)

Interesting — coming from the Linux world where docker is an 'apt install' away, I struggled with docker installation on Mac and settled on their client because of various “gotchas” I saw online. And even then got pissed because the client overwrote my local 'kubectl' bin.

Guess I’ll have to reevaluate.

[–] [email protected] 3 points 1 year ago

Podman is just as easy to install--admittedly they give way more support for Ubuntu and Fedora than other platforms (unfortunately). But once you've switched, you won't go back; it really is a 'seemless' transition, and you can use the same dockerfiles and docker-compose files with it.

[–] [email protected] 1 points 1 year ago

It's been a drop in replacement for me as far as I can tell. I have had one problem with Docker since I switched to Rancher Desktop on Mac that a coworker didn't (I assume they use Docker Desktop) but I'm not convinced it was due to Rancher (something about some sftp containernand file permissions).