Comments (7)
。。。没有伙伴帮忙吗?
from easy-mock-docker.
我能够正常运行,没有出现你的问题,但是有个恶心的地方,就是进入他们提供的容器之后,无法使用sudo命令
from easy-mock-docker.
@zhangxin-github 暂时本地没有复现出来这个报错,有复现流程吗,描述一下吧。
from easy-mock-docker.
@K-walker 镜像中没有使用 root 用户来操作,在什么场景你需要在容器里面用到 root 呢?
from easy-mock-docker.
@DuanPengfei 因为我需要配置fe.publicPath 这个参数,但是发现,怎么配置都没用,访问地址还是 localhost:7300 ,我需要加一层路经,比如 我访问 localhost:7300/emock 这个路径是访问首页,其他所有页面都是在这个路径下
from easy-mock-docker.
@K-walker 你可以通过其他服务的反向代理实现这个需求,不要试图改变容器内的配置。
from easy-mock-docker.
今天在部署的时候,遇到了和你完全一样的问题,虽然已经过了很久了,希望能帮到之后看到的人。
docker部署好之后直接使用 域名+端口 或者 IP+端口 访问会出现这个问题,在network里显示vendor.js的status为(failed),但点开详情它正常返回了200的,在控制台的报错就是你说的这个net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
如楼上所说,使用反代理即可,我使用了Nginx对服务器绑定的域名进行反代理之后,就正常访问了。
from easy-mock-docker.
Related Issues (20)
- macOS下启动不能启动web HOT 1
- 自定义部署路径 HOT 2
- 搜索团队会报错是什么原因呢? HOT 3
- web运行不起来 HOT 3
- 使用 network ! HOT 2
- docker镜像不维护了吗?easy-mock版本都4以上了 HOT 1
- docker-compose easymock 镜像版本问题 HOT 1
- docker-compose 部署时报文件权限错误 HOT 3
- docker-compose ps 一直在 Restarting HOT 1
- [ioredis] Unhandled error event: Error: connect ECONNREFUSED HOT 1
- 无法访问easy-mock问题 HOT 1
- easymock:1.6.0登录页加载失败
- 安装后,远程JS 加载失败,是不是需要更新下镜像代码了 HOT 1
- 1.3.3 镜像 up 之后提示访问,提示 window is not defined HOT 3
- npm start 时的权限问题 HOT 2
- 求一个CentOS7.x的docker-compose部署 HOT 2
- win10下部署报错:Operation not permitted, terminating HOT 4
- win10 使用docker部署不成功 HOT 1
- permission denied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-mock-docker.