this post was submitted on 25 May 2024
3 points (80.0% liked)
Docker
39 readers
1 users here now
Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop can run at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't know if you had any issue with the formatting, but your first example is not going to work because you are putting the volumes mapping at the top-level. The correct would be:
Thank you. That's what I get for trying to write YAML on my phone.