Comments (12)
I have fixed this problem; but I have not updated the version number of docker image in order to follow the main version of shadowsocks; you can update the image by executing the following command:
docker rmi mritd/shadowsocks:3.2.0
docker pull mritd/shadowsocks:3.2.0
from dockerfile.
@mritd Still have this problem. Running on GCP VM instance "Linux jw-gcp-server1 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64".
2018-11-06 14:46:28:Status: Downloaded newer image for mritd/shadowsocks:3.2.0
2018-11-06 14:46:30:Recreating dao_ss_1...
2018-11-06 14:46:46:Creating dao_ss_1...
2018-11-06 14:46:48:�[32mStarting shadowsocks......�[0m
2018-11-06 14:46:48: 2018-11-06 14:46:47 INFO: using tcp fast open
2018-11-06 14:46:48: 2018-11-06 14:46:47 INFO: This system doesn't provide enough entropy to quickly generate high-quality random numbers.
2018-11-06 14:46:48:Installing the rng-utils/rng-tools, jitterentropy or haveged packages may help.
2018-11-06 14:46:48: 2018-11-06 14:46:47 INFO: tcp server listening at 0.0.0.0:6443
2018-11-06 14:46:48: 2018-11-06 14:46:47 INFO: running from root user
2018-11-06 14:46:48:2018/11/06 14:46:47 initiating key derivation
2018-11-06 14:46:48:2018/11/06 14:46:47 listening on: [::]:6500
2018-11-06 14:46:48:2018/11/06 14:46:47 compression: true
2018-11-06 14:46:48:2018/11/06 14:46:47 mtu: 1350
2018-11-06 14:46:48:2018/11/06 14:46:47 acknodelay: false
2018-11-06 14:46:48:2018/11/06 14:46:47 keepalive: 10
2018-11-06 14:46:48:2018/11/06 14:46:47 snmplog:
2018-11-06 14:46:48:2018/11/06 14:46:47 snmpperiod: 60
2018-11-06 14:46:48:2018/11/06 14:46:47 pprof: false
2018-11-06 14:46:48:2018/11/06 14:46:47 quiet: false
from dockerfile.
Wait a moment, I will test it again.
from dockerfile.
This is a weird problem... I tested it on Conoha's VPS, but there was a problem with GCE's vps; I'm trying to fix it. 😌
from dockerfile.
I added the -r
option to fix this error, and the docker hub will finish building later.
refs shadowsocks/shadowsocks-libev#1389
from dockerfile.
Still there?
2018-11-06 16:26:20:Pulling ss (index.docker.io/mritd/shadowsocks:3.2.0)...
2018-11-06 16:26:23:3.2.0: Pulling from mritd/shadowsocks
2018-11-06 16:26:23:Digest: sha256:0741040b09848acad8e6542cce0698b0fb8ce1d45e4eb0f164ae84020dea78ae
2018-11-06 16:26:23:Status: Image is up to date for mritd/shadowsocks:3.2.0
2018-11-06 16:26:26:Recreating dao_ss_1...
2018-11-06 16:26:41:Creating dao_ss_1...
2018-11-06 16:26:43:�[32mStarting kcptun......�[0m
2018-11-06 16:26:43:�[32mStarting shadowsocks......�[0m
2018-11-06 16:26:43: 2018-11-06 16:26:42 INFO: using tcp fast open
2018-11-06 16:26:43: 2018-11-06 16:26:42 INFO: initializing ciphers... aes-256-cfb
2018-11-06 16:26:43: 2018-11-06 16:26:42 INFO: This system doesn't provide enough entropy to quickly generate high-quality random numbers.
2018-11-06 16:26:43:Installing the rng-utils/rng-tools, jitterentropy or haveged packages may help.
2018-11-06 16:26:43:On virtualized Linux environments, also consider using virtio-rng.
2018-11-06 16:26:43:The service will not start until enough entropy has been collected.
2018-11-06 16:26:43:
2018-11-06 16:26:43: 2018-11-06 16:26:42 INFO: tcp server listening at 0.0.0.0:6443
2018-11-06 16:26:43: 2018-11-06 16:26:42 INFO: running from root user
2018-11-06 16:26:43:2018/11/06 16:26:42 version: 20181002
2018-11-06 16:26:43:2018/11/06 16:26:42 initiating key derivation
2018-11-06 16:26:43:2018/11/06 16:26:42 listening on: [::]:6500
2018-11-06 16:26:43:2018/11/06 16:26:42 target: 127.0.0.1:6443
2018-11-06 16:26:43:2018/11/06 16:26:42 encryption: aes
2018-11-06 16:26:43:2018/11/06 16:26:42 nodelay parameters: 1 20 2 1
2018-11-06 16:26:43:2018/11/06 16:26:42 sndwnd: 1024 rcvwnd: 1024
2018-11-06 16:26:43:2018/11/06 16:26:42 compression: true
2018-11-06 16:26:43:2018/11/06 16:26:42 mtu: 1350
2018-11-06 16:26:43:2018/11/06 16:26:42 datashard: 10 parityshard: 3
2018-11-06 16:26:43:2018/11/06 16:26:42 acknodelay: false
2018-11-06 16:26:43:2018/11/06 16:26:42 dscp: 0
2018-11-06 16:26:43:2018/11/06 16:26:42 sockbuf: 4194304
2018-11-06 16:26:43:2018/11/06 16:26:42 keepalive: 10
2018-11-06 16:26:43:2018/11/06 16:26:42 snmplog:
2018-11-06 16:26:43:2018/11/06 16:26:42 snmpperiod: 60
2018-11-06 16:26:43:2018/11/06 16:26:42 pprof: false
2018-11-06 16:26:43:2018/11/06 16:26:42 quiet: false
from dockerfile.
Use -r
and --privileged
option, like this:
docker run -dt --name test --privileged mritd/shadowsocks:3.2.0 -s "-s 0.0.0.0 -p 6443 -m chacha20 -k test123 --fast-open" -r
from dockerfile.
It's the same. Do I need do something on my GCE vps?
➜ ~ docker container inspect --format='{{.HostConfig.Privileged}}' dao_ss_1
true
Here is my docker compose file:
ss:
image: index.docker.io/mritd/shadowsocks:3.2.0
privileged: true
restart: always
ports:
- 10300:6443
environment:
- SS_MODULE=ss-server
- SS_CONFIG=-s 0.0.0.0 -p 6443 -m aes-256-cfb -k xxx --fast-open
- KCP_FLAG=true
- KCP_MODULE=kcpserver
- KCP_CONFIG=-t 127.0.0.1:6443 -l :6500 -mode fast2
from dockerfile.
add environment RNGD_FLAG=true
from dockerfile.
Have another error:
Use /dev/urandom to quickly generate high-quality random numbers......
Failed to init entropy source 1: TPM RNG Device
Starting kcptun......
Starting shadowsocks......
2018-11-06 18:44:00 INFO: using tcp fast open
2018-11-06 18:44:00 INFO: initializing ciphers... aes-256-cfb
2018-11-06 18:44:00 INFO: tcp server listening at 0.0.0.0:6443
2018-11-06 18:44:00 INFO: running from root user
2018/11/06 18:44:00 version: 20181002
2018/11/06 18:44:00 initiating key derivation
2018/11/06 18:44:00 listening on: [::]:6500
2018/11/06 18:44:00 target: 127.0.0.1:6443
2018/11/06 18:44:00 encryption: aes
2018/11/06 18:44:00 nodelay parameters: 1 20 2 1
2018/11/06 18:44:00 sndwnd: 1024 rcvwnd: 1024
2018/11/06 18:44:00 compression: true
2018/11/06 18:44:00 mtu: 1350
2018/11/06 18:44:00 datashard: 10 parityshard: 3
2018/11/06 18:44:00 acknodelay: false
2018/11/06 18:44:00 dscp: 0
2018/11/06 18:44:00 sockbuf: 4194304
2018/11/06 18:44:00 keepalive: 10
2018/11/06 18:44:00 snmplog:
2018/11/06 18:44:00 snmpperiod: 60
2018/11/06 18:44:00 pprof: false
2018/11/06 18:44:00 quiet: false
from dockerfile.
This error message should be ignored.
from dockerfile.
Got it!
from dockerfile.
Related Issues (20)
- win10下面如何使用kcptun? HOT 4
- 运行kcptun client 报错 HOT 5
- tar -zxf kcptun-linux-amd64-${KCP_VERSION}.tar.gz HOT 4
- add "apk del tzdata"
- ss的v2ray-plugin需要更新 HOT 1
- fastdfs启动脚本建议优化 HOT 4
- remove custom header 后又出现 failed to set TCP_FASTOPEN_CONNECT HOT 3
- sss HOT 1
- 希望提供一个更方便的privoxy,万分感谢 HOT 7
- The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested HOT 5
- shadowsocks2能否支持obfs HOT 2
- Timemachine afpd 权限问题
- Timemachine afpd 权限问题 HOT 4
- mritd/shadowsocks 的问题 HOT 4
- Please update shadowsocks-v2ray_plugin to 1.2.0 HOT 1
- 请问下,docker启动后报错 PC可用,手机不行 HOT 6
- 最近是不是q特别严重 HOT 2
- 使用 v2ray-plugin 开启 TLS 模式下,无法绑定 443 端口 HOT 4
- 作为客户端的情况下如何设置PAC自动或者全局? HOT 1
- 无法绑定到53端口 HOT 1
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 dockerfile.