Larry Martell
2016-03-09 01:53:45 UTC
I have inherited a docker based system, and I can't make heads or tails of
it. The person who set it up is gone and no one here know anything about
it. All I have it a short readme that says to run this (the names have been
changed to protect the guilty):
sudo docker run -v /home/user1/repos/foo:/home/user2/src -v
/projects/foo:/home/user2/data -p 127.0.0.1:40180:80 -p
127.0.0.1:48000:8000 -p 45820:5820 -t -i user2/foo bash
When I run this I am told the app works, but here are my questions:
What exactly does this command do?
/home/user2 does not exist - how does that effect the working of the app?
How would I look at log files?
Thanks!
it. The person who set it up is gone and no one here know anything about
it. All I have it a short readme that says to run this (the names have been
changed to protect the guilty):
sudo docker run -v /home/user1/repos/foo:/home/user2/src -v
/projects/foo:/home/user2/data -p 127.0.0.1:40180:80 -p
127.0.0.1:48000:8000 -p 45820:5820 -t -i user2/foo bash
When I run this I am told the app works, but here are my questions:
What exactly does this command do?
/home/user2 does not exist - how does that effect the working of the app?
How would I look at log files?
Thanks!