This page (revision-12) was last changed on 23-Apr-2022 17:05 by Harry Metske

This page was created on 23-Apr-2022 17:06 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
12 23-Apr-2022 17:05 12 KB Harry Metske to previous
11 23-Apr-2022 17:06 12 KB Harry Metske to previous | to last
10 23-Apr-2022 17:06 11 KB Harry Metske to previous | to last
9 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
8 23-Apr-2022 17:06 7 KB Harry Metske to previous | to last
7 23-Apr-2022 17:06 7 KB Harry Metske to previous | to last
6 23-Apr-2022 17:06 7 KB Harry Metske to previous | to last
5 23-Apr-2022 17:06 5 KB Harry Metske to previous | to last Docker JSPWiki ==> Docker-JSPWiki
4 23-Apr-2022 17:06 5 KB Harry Metske to previous | to last
3 23-Apr-2022 17:06 3 KB Harry Metske to previous | to last
2 23-Apr-2022 17:06 3 KB Harry Metske to previous | to last
1 23-Apr-2022 17:06 160 bytes unknown to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 83 added 29 lines
!!! Stopping and starting the container
To stop the container, simply issue the {{docker stop}} command against the containerid (or container name if you gave it a name during first run):
{{{
[root@vbox ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e1da0696c689 harry:jspwiki-2.10.2-svn-14 "/bin/sh -c '/usr/lo 42 hours ago Up 42 hours 0.0.0.0:80->8080/tcp jspwiki_80
[root@vbox ~]# docker stop jspwiki_80
jspwiki_80
[root@vbox ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@vbox ~]#
}}}
You can restart it again with the {{docker start}} command, you have to find the containerid with the {{docker ps -a}} command first , (or simply use the container name if you gave the container a name during first run):
{{{
[root@vbox ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e1da0696c689 harry:jspwiki-2.10.2-svn-14 "/bin/sh -c '/usr/lo 42 hours ago Exited (143) About a minute ago jspwiki_80
[root@vbox ~]# docker start jspwiki_80
jspwiki_80
[root@vbox ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e1da0696c689 harry:jspwiki-2.10.2-svn-14 "/bin/sh -c '/usr/lo 42 hours ago Up 3 seconds 0.0.0.0:80->8080/tcp jspwiki_80
}}}
As you will notice, after a stop/start you still have the data (pages) that were created after the first container start. %%small (you can check easily with the Recent Changes page) %%
At line 85 changed one line
* stop the container