#NEWLINE# def remove_docker_containers( docker_client , container = None ) : #NEWLINE# #INDENT# '\n    Remove all docker containers\n    ' #NEWLINE# container_check ( docker_client , container = container ) #NEWLINE# if ( ( not container ) or ( container == POSTGIS_INPUT ) ) : #NEWLINE# #INDENT# print ( 'Removing PostGIS...' ) #NEWLINE# docker_client . remove_container ( container = POSTGIS_CONTAINER ) #NEWLINE# #UNINDENT# if ( ( not container ) or ( container == GEOSERVER_INPUT ) ) : #NEWLINE# #INDENT# print ( 'Removing GeoServer...' ) #NEWLINE# docker_client . remove_container ( container = GEOSERVER_CONTAINER ) #NEWLINE# #UNINDENT# if ( ( not container ) or ( container == N52WPS_INPUT ) ) : #NEWLINE# #INDENT# print ( 'Removing 52 North WPS...' ) #NEWLINE# docker_client . remove_container ( container = N52WPS_CONTAINER )