未验证 提交 b065330c 编写于 作者: 羽飞's avatar 羽飞 提交者: GitHub

add privileged arg in run command

上级 48a6cd7a
...@@ -20,7 +20,7 @@ Dockerfile: https://github.com/oceanbase/miniob/blob/main/Dockerfile ...@@ -20,7 +20,7 @@ Dockerfile: https://github.com/oceanbase/miniob/blob/main/Dockerfile
```bash ```bash
# build # build
docker build -t miniob . docker build -t miniob .
docker run -d --name='miniob' miniob:latest docker run --privileged -d --name='miniob' miniob:latest
# 进入容器,开发调试 # 进入容器,开发调试
docker exec -it miniob bash docker exec -it miniob bash
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册