this post was submitted on 25 Jul 2023
16 points (100.0% liked)

Sysadmin

240 readers
1 users here now

A community dedicated to the profession of IT Systems Administration

founded 5 years ago
MODERATORS
 

Hi! I've inherited a machine installed by somebody else who's no longer in the company or the country. The machine is running just fine, but i see no Dockerfiles or docker-compose.yml, and this looks like something that came from a Compose file with a few linked containers.

Is it possible to reconstruct that info from the running containers? I'm still a raw Docker newbie at this point so i don't know if this is even possible, would be helpful not to have to try and contact the person who set it up.

top 2 comments
sorted by: hot top controversial new old
[โ€“] randomname01@feddit.nl 8 points 1 year ago
[โ€“] nowonder@nwdr.club 1 points 1 year ago

docker inspect <container_id> tells you everything about the container in json format.