What are the requirement?
https://hub.docker.com
https://store.docker.com
The image often come with documentation
#----------Get image from kartoza/geoserver----------
FROM kartoza/geoserver
#----------Copy and add resource folder to the path of tomcat----------ADD resources /usr/local/tomcat/webapps/ROOT/
| Command | Description |
|---|---|
| Docker ps | see all running container |
| Docker ps -a | See all container |
| Docker images | see all available image |
| Docker diff container_name | See changes from initial run |
| Command | Example |
|---|---|
| docker run --name "container_name" -d --restart=always -p host_port:container_port -t image_name | docker run --name “postgis” -d --restart=always -p 5432:5432 -t gds/postgis |
| Command | Example |
|---|---|
| docker commit container_name repository:tag | docker commit geoserver gds/geoserver:version1 |
| Command | Example |
|---|---|
| sudo docker exec -i -t container_name /bin/bash | sudo docker exec -i -t geoserver /bin/bash |
| Command | Description |
|---|---|
| docker rm -f container_name | To force remove running container |
| docker rm container_name | remove container that are not running |
| Command | Example |
|---|---|
| docker rmi image_name | docker rmi gds/geoserver |
Docker registry is almost similar to gitlab
You should use the Registry if you want to:
Since the registry need a SSL and we dont have it, so there is a workaround and some configuration need to be done in order to make it work.