Change in docker-playground[master]: fr: kill the frnet container before trying to 'rm' it

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Mar 16 16:22:45 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/23379 )


Change subject: fr: kill the frnet container before trying to 'rm' it
......................................................................

fr: kill the frnet container before trying to 'rm' it

+ docker container rm jenkins-ttcn3-fr-test-109-frnet jenkins-ttcn3-fr-test-109-ttcn3-fr-test
jenkins-ttcn3-fr-test-109-ttcn3-fr-test
Error response from daemon: You cannot remove a running container 4f5ec7f412b2d37d00b2738b2bcddffada36efebfe7ce32ed196543ee436154e. Stop the container before attempting removal or force remove

Change-Id: I66ed0d073bdd6962f78da54232d6bc58adc09e2c
---
M ttcn3-fr-test/jenkins.sh
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/79/23379/1

diff --git a/ttcn3-fr-test/jenkins.sh b/ttcn3-fr-test/jenkins.sh
index bfe775f..c878000 100755
--- a/ttcn3-fr-test/jenkins.sh
+++ b/ttcn3-fr-test/jenkins.sh
@@ -63,6 +63,8 @@
 # emulate running container in foreground, which is no longer possible as we
 # must shift the net-devices into the container _after_ it is started
 docker logs	-f ${BUILD_TAG}-ttcn3-fr-test
+# kill the frnet container to avoid "You cannot remove a running container " below in 'rm'
+docker kill ${BUILD_TAG}-frnet
 
 # store execution logs for both containers
 docker logs --timestamps ${BUILD_TAG}-ttcn3-fr-test > $VOL_BASE_DIR/fr-tester/exec.log

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/23379
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I66ed0d073bdd6962f78da54232d6bc58adc09e2c
Gerrit-Change-Number: 23379
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210316/f7a14d08/attachment.htm>


More information about the gerrit-log mailing list