This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker container stop d1ad06cfbc91 | |
docker container ls -la |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker container exec -it d1ad06cfbc91 bash | |
echo “life inside a container” > file1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kill -18 3163 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hi there.. I’m a process | |
hi there.. I’m a process | |
hi there.. I’m a process | |
[1]+ Stopped bash processtestscript.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kill -19 3163 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UID PID PPID C STIME TTY TIME CMD | |
dumiduh 3163 3087 0 16:56 pts/7 00:00:00 bash processtestscript.sh | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
d1ad06cfbc91 tomcat:8.0 "catalina.sh run" 24 seconds ago Up 21 seconds 8080/tcp happy_banach |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps -ef | head -n 1 ; ps -ef | grep processtestscript.sh | head -n 1 | |
docker container ls -l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unable to find image 'tomcat:8.0' locally | |
8.0: Pulling from library/tomcat | |
ad74af05f5a2: Pull complete | |
2b032b8bbe8b: Pull complete | |
99a5213ead46: Pull complete | |
7de34ca31efd: Pull complete | |
9b22e57d98bb: Pull complete | |
12cd7a66c3fd: Pull complete | |
880bb942de44: Pull complete | |
6ada99602995: Pull complete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker container run tomcat:8.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hi there.. I’m a process | |
hi there.. I’m a process | |
hi there.. I’m a process |