[PATCH v7 compass-ci 5/5] container/ntp-server: start

30 Oct
2020
30 Oct
'20
1:42 p.m.
Signed-off-by: Wang Chenglong <18509160991@163.com> --- container/ntp-server/start | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 container/ntp-server/start diff --git a/container/ntp-server/start b/container/ntp-server/start new file mode 100755 index 0000000..d5e3394 --- /dev/null +++ b/container/ntp-server/start @@ -0,0 +1,16 @@ +#!/bin/bash +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved. + +. $CCI_SRC/container/defconfig.sh + +docker_rm ntp-server +cmd=( + docker run + -id + --name=ntp-server + -p 123:123/udp + ntp-server +) + +"${cmd[@]}" -- 2.23.0
1579
Age (days ago)
1579
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wang Chenglong