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..6e7479e --- /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. + +. ../defconfig.sh + +docker_rm ntp_server +cmd=( + docker run + -id + --name=ntp_server + -p 123:123/udp + ntp_server:latest +) + +"${cmd[@]}"
You have a spelling error in title. star => sart
On Thu, Oct 29, 2020 at 03:53:08PM +0800, Wang Chenglong wrote:
Signed-off-by: Wang Chenglong 18509160991@163.com
- -p 123:123/udp
- ntp_server:latest
^ maybe we can use "-" instead of "_"
Thanks, Zhangyu
On Thu, Oct 29, 2020 at 04:33:12PM +0800, Zhang Yu wrote:
You have a spelling error in title. star => sart
On Thu, Oct 29, 2020 at 03:53:08PM +0800, Wang Chenglong wrote:
Signed-off-by: Wang Chenglong 18509160991@163.com
- -p 123:123/udp
- ntp_server:latest
^ maybe we can use "-" instead of "_"
Ok
Thanks, Chenglong
Thanks, Zhangyu
star => start
On Thu, Oct 29, 2020 at 03:53:08PM +0800, Wang Chenglong wrote:
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..6e7479e --- /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.
+. ../defconfig.sh
+docker_rm ntp_server
ntp_server => ntpd?
Thanks, Xueliang
+cmd=(
- docker run
- -id
- --name=ntp_server
- -p 123:123/udp
- ntp_server:latest
+)
+"${cmd[@]}"
2.23.0
On Thu, Oct 29, 2020 at 04:42:42PM +0800, Cao Xueliang wrote:
star => start
On Thu, Oct 29, 2020 at 03:53:08PM +0800, Wang Chenglong wrote:
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..6e7479e --- /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.
+. ../defconfig.sh
+docker_rm ntp_server
ntp_server => ntpd?
Ok
Thanks, Chenglong
Thanks, Xueliang
+cmd=(
- docker run
- -id
- --name=ntp_server
- -p 123:123/udp
- ntp_server:latest
+)
+"${cmd[@]}"
2.23.0