fix v2
This commit is contained in:
parent
a669f34fcc
commit
778a049139
2 changed files with 2 additions and 3 deletions
|
|
@ -55,6 +55,8 @@ services:
|
||||||
|
|
||||||
sftp:
|
sftp:
|
||||||
image: mirror.gcr.io/atmoz/sftp
|
image: mirror.gcr.io/atmoz/sftp
|
||||||
|
security_opt:
|
||||||
|
- seccomp:unconfined
|
||||||
volumes:
|
volumes:
|
||||||
- ./sftp_data:/home/user
|
- ./sftp_data:/home/user
|
||||||
command: user:Aa111111:1001
|
command: user:Aa111111:1001
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,6 @@ def run_docker(folder_name: str) -> int:
|
||||||
logging.info("Removing all clr_test-clearing_system containers")
|
logging.info("Removing all clr_test-clearing_system containers")
|
||||||
subprocess.call('docker rm -f $(docker ps --all -q --filter ancestor=clr_test-clearing_system)', shell=True)
|
subprocess.call('docker rm -f $(docker ps --all -q --filter ancestor=clr_test-clearing_system)', shell=True)
|
||||||
|
|
||||||
logging.info("Removing all sftp containers")
|
|
||||||
subprocess.call('docker rm -f $(docker ps --all -q --filter ancestor=mirror.gcr.io/atmoz/sftp)', shell=True)
|
|
||||||
|
|
||||||
logging.info("Removing all clr_test-db images")
|
logging.info("Removing all clr_test-db images")
|
||||||
subprocess.call('docker rmi -f clr_test-db', shell=True)
|
subprocess.call('docker rmi -f clr_test-db', shell=True)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue