Comments (7)
It runs fine with only specific ports bound, what does docker ps say about the ports for the running container?
from unifi-docker.
It does not bind them somehow, usually i get an error if the ports cannot be bound. But this then may be a docker specific error:
The command i am running:
sudo docker run --rm -d -p 8442:8443 --net=host -v ~/unifi/data:/var/lib/unifi -v ~/unifi/logs:/var/log/unifi -v ~/unifi/run:/var/run/unifi --name unifi jacobalberty/unifi:unifi5
from unifi-docker.
Thank you for the quick response, i think this issue is not related to this project, binding to the host network and specifying the ports may have some problems, if i do not specify the ports they get bound correctly to a ephemeral port range
from unifi-docker.
I actually have the same problem. Everything works until I try to bind the ports to the non-standard ones.
While I use the same command as pfried, I also don't see any ports being mapped when I check with 'docker ps'.
(I would need to run 10 containers on the same box, so changing those ports is required).
Not sure how to accomplish this.
from unifi-docker.
@JohnnyMaccarone If you need to run 10 containers mapping all of those ports may be a bit heavier than you should be doing. You should look into some of the more advanced docker networking options. Specifically the macvlan networking driver allows you to give containers routable ips.
https://blog.docker.com/2016/12/understanding-docker-networking-drivers-use-cases/
from unifi-docker.
Thanks for your quick response !
I'll have a look into your suggestion.
Cheers.
from unifi-docker.
I did attach the container to a macvlan, a very helpful article on this issue:
http://collabnix.com/docker-17-06-swarm-mode-now-with-macvlan-support/
from unifi-docker.
Related Issues (20)
- README fix typos HOT 3
- Update image to controller version v8.0.26
- How to change log container log level? HOT 3
- move from linux server
- Huge LOAD after starting container HOT 5
- Update image to controller version v8.0.28 HOT 12
- Device Firmware not udpating HOT 3
- Unifi-docker doesn't create backup HOT 6
- Directions to force reset AP in the `Side-Projects.md` file, do not work for all APs HOT 1
- Guest Portal showing default page, no adjustments possible. HOT 1
- Improvement for readme part Adoption HOT 2
- How do I download the package for my Qnap nas? HOT 6
- Update image to controller version v8.1.113 HOT 13
- Docker compose and documentation update HOT 8
- Latest versions are not available in Docker Hub for arch. linux/arm/v7 HOT 4
- Backup is still fetching. HOT 4
- No new Device Update in Controller HOT 3
- PSA: Security Bulletin for apps <8.1.113 HOT 3
- Fonts Not Loading HOT 6
- Support for Early Access HOT 3
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 unifi-docker.