Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用README的命令成功创建了容器,但是无法请求访问进入页面 #5

Open
Fnckerpoi opened this issue Jan 21, 2022 · 3 comments

Comments

@Fnckerpoi
Copy link

No description provided.

@Cyberbolt
Copy link
Owner

请附加上你创建容器的原命令

@magellan-99
Copy link

请附加上你创建容器的原命令

我已经找到原因,请修改一下你的“方案二(生产环境部署)”的部署语句为:
docker run -itd -v /www/www:/www --net=host --restart=always
--name baota cyberbolt/baota
-port 8888 -username cyberbolt -password abc123456

@AlanWang2333
Copy link

你加了一个www目录??有什么意义,我还想/mnt/diskA/docker/baota/www/wwwroot:/www/wwwroot这样写来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants