File tree 1 file changed +3
-15
lines changed 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 31
31
tag=latest
32
32
33
33
if [ " $3 " == " ubuntu" ] || [ ! -n " $3 " ]; then
34
- docker run -it \
35
- --restart=always \
36
- --cap-add=SYS_PTRACE \
37
- --security-opt seccomp=unconfined \
38
- --device=/dev/sgx_enclave:/dev/sgx/enclave \
39
- --device=/dev/sgx_provision:/dev/sgx/provision \
40
- --name=${name} \
41
- -v /var/run/aesmd/aesm.socket:/var/run/aesmd/aesm.socket \
42
- -v /home:/home/host-home \
43
- --net=host \
44
- --add-host=pccs.service.com:${ip_addr} \
45
- anolisos_horizontal_fl:${tag} \
46
- bash
47
- else
48
34
docker run -itd \
49
35
--restart=always \
50
36
--cap-add=SYS_PTRACE \
@@ -72,4 +58,6 @@ docker run -it \
72
58
--add-host=pccs.service.com:${ip_addr} \
73
59
anolisos_horizontal_fl:${tag} \
74
60
bash
75
- fi
61
+ else
62
+ echo " unsupported distros '$3 ', should be 'ubuntu' or 'anolisos'"
63
+ fi
You can’t perform that action at this time.
0 commit comments