mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore.git
synced 2026-01-15 07:15:06 +08:00
14 lines
357 B
Bash
Executable File
14 lines
357 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# todo 修改下面 --name 指定的容器名
|
|
# todo 修改下面 -p 绑定的第一个端口号
|
|
docker run \
|
|
--pull always \
|
|
-ti --rm --name "hyperf-development-kit" \
|
|
--privileged -u root \
|
|
-w "/srv/www" \
|
|
-v "$(pwd)":/srv/www \
|
|
-v ~/.ssh:/root/.ssh \
|
|
-p 9501:9501 \
|
|
harbor.luxcreo.cn/library/hyperf:8.0-swoole /bin/ash
|