Comments (5)
Wrong. Doing as described above port must be open already. :\
from acweb.
So we have to add a range of ports to the Dockerfile?
from acweb.
We can't use the method i've described because it assumes those ports shaw be open already.
I've seen some iptables magic to do that on-the-fly, but it may be tricky.
So far, docker doesn't allow dynamic port forwarding. 👎
from acweb.
Actually, if we do something like the first post, with a range as small as possible, it may work. Seems that docker has some awkward memory usage when doing that.
When I first tried it at my aws box (t2.micro, 1 core, 1 GIB ram) it crashed. But when I repeated at my personal rig, it works fine. I'll do some more testing, but maybe someone else should give it a try to (can't thrust myself about it any longer).
from acweb.
Confirmed: forwarding a range of "only" 100 ports, it does work at smaller aws box:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
effdd44f32a0 local/acweb "/app/main" 7 seconds ago Up 5 seconds 0.0.0.0:8000-8100->8000-8100/tcp, 0.0.0.0:9999->8080/tcp acweb
75968fca7c69 mysql:latest "docker-entrypoint..." 6 minutes ago Up 6 minutes 0.0.0.0:3306->3306/tcp ac-mysql
ubuntu@ip:~/acweb$
Although it allow docker image usage, one needs to pay special attention when configuring acServer ports, specially/specifically when setting up stracker ports because stracker port can only be a fixed amount of ports OR AC udp port + 42, as per stracker ini description.
Also, one should also forward some ports for UDP:
-p 8000-8100:8000-8100/udp
from acweb.
Related Issues (20)
- Add possibility to execute shell script from web GUI HOT 7
- Can't "save" acweb config via web interface - "Error 1054: Unknown column 'auth_plugin_address' in 'field list'" HOT 2
- Cant save configuration HOT 11
- Enhanced script management
- Update screenshots
- Port HOT 5
- typo config folder name HOT 5
- working directory issue
- typo on instance list
- Can't login to the interface HOT 20
- SOL: Custom weather-types HOT 1
- Config import not working HOT 3
- Add ability to add cars and tracks HOT 1
- hook to start acserver HOT 4
- Problem Install Panel web for acweb and accweb
- Server only binds to IPv6?
- Assist Rules Menu / no possibility to manually change criteria
- Cars and Tracks not appearing in the web interface Configurations page HOT 1
- Server can't find server_cfg.ini
- Webmin plugin?
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 acweb.