this post was submitted on 10 Jun 2024
14 points (100.0% liked)

Docker

1076 readers
1 users here now

founded 1 year ago
MODERATORS
 

I have a NAS where I tested to see if some apps could run on it without a server. They overloaded the CPU, so I am now wanting to move them over to a more powerful workstation. I'm used to Compose files/configs, but it seems that my NAS uses plain Docker. Is there a way to extract the configs/long terminal setup commands? I have Portainer installed, if that makes it easier.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 3 months ago* (last edited 3 months ago)

'docker container inspect '

Or https://github.com/lavie/runlike: docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike YOUR-CONTAINER

and copy the output into Composerize.