On Mon, Mar 01, 2021 at 04:31:16PM +0800, Luan Shengde wrote:
@@ -56,7 +56,7 @@ do_one_run() mkdir $tmpdir/start_$container_name 2>/dev/null && ( cd "$container"
[ "$container_name" == 'ssh-r' ] && exit
[ -n "$(docker ps -aqf name='ssh_r')" ] && exit
avoid use a long command in a test part, you can use: container_id = $(docker ps -aqf name='ssh_r') [ -n "$container_id"] && exit
good
Thanks, Yinsi
Thanks, Luan Shengde
[ -x first-run ] && ./first-run [ -x start ] && ./start [ "$container_name" == 'initrd-lkp' ] && ./run
-- 2.23.0