Commit 58d410bf authored by Luca Cinquini's avatar Luca Cinquini
Browse files

Fixing doc.

parent 31f8e1dc
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
.. _docker_tips:

***********
Docker Tips
***********

Abstract
========

The following page gives some useful tips on docker and swarm managment

Version
=======

*  Docker version 17.09.0-ce, build afdb6d4


Docker volume managment
=======================

Remove dangling volumes of container::

  docker volume ls -f "dangling=true" | xargs docker volume rm 

Remove all volumes::

  docker volume ls -q | xargs docker volume rm --force


Docker image managment
======================

Remove dangling images::

  docker image ls -f "dangling=true" | xargs docker image rm 

Remove all volumes::

  docker image ls -q | xargs docker volume rm --force

Remove image according to a given pattern::

  docker images "esgfhub/*:devel" -q | xargs docker image rm
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ These tests **must** be executed before the *integration* branch is merged into

In what follows, replace *my-node.esgf.org* with your choice for $ESGF_HOSTNAME:

* Docker visualizer tool: http://my-node.esgf.org:8080/. Check all containers are up and running.
* Docker visualizer tool: http://my-node.esgf.org:8080/. Check all containers are up and running. Only when running with Docker Swarm on a multi-host environment - not when using Docker compose.
* Solr admin interface: https://my-node.esgf.org/solr/#/. Check you can perform a basic search.
* ESGF search API: http://my-node.esgf.org/esg-search/search.
* ESGF IdP: https://my-node.esgf.org/esgf-idp/.
+223 B (31.5 KiB)

File changed.

No diff preview for this file type.

+296 B (12.4 KiB)

File changed.

No diff preview for this file type.

+3 B (373 B)

File changed.

No diff preview for this file type.

Loading