Here is my simple docker file
FROM java:8
EXPOSE 4000
now when i run it using the following command
sudo docker run --name hello dockerfile
and do docker ps -ait shows the status that came out. I just want to save this container and run so that I can ssh into this container and probably transfer files and so on. It seems that containers are mainly used to start servers, am I right?
source
share