Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-29-2014, 07:34 PM
|
#1
|
LQ Newbie
Registered: Dec 2014
Posts: 14
Rep: 
|
Using Docker
I was interested in using docker and had two question, is there a way to keep two different dockers from conflicting?
I have a conflict between NGINX and Vaultier.
Also is there a GUI management tool for Docker?
|
|
|
12-30-2014, 01:56 AM
|
#2
|
Member
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372
Rep:
|
Docker containers are isolated and won't conflict with each other. You might be trying to expose both containers to the same port on the host?
You could supply some more detailed information for others to be able to help you identify your issue you know.
afaik there isn't a GUI management for docker (yet)
|
|
|
12-30-2014, 08:06 AM
|
#3
|
LQ Newbie
Registered: Dec 2014
Posts: 14
Original Poster
Rep: 
|
I hae a machine that has NGINX installed and running listening to port 80. I have a docker file (however to put that) with a process in there that will also try to listen on port 80 (apache). By running this docker file should I expect any conflicts?
|
|
|
12-30-2014, 08:21 AM
|
#4
|
Member
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372
Rep:
|
Each docker instance (by the dockerfile) is run isolated from the host so it should be able to claim port 80 itself. it will have to be 'exposed' by docker to the physical world for the port to be available. that expose can not be the same port on the host...
eg.. on my physical host, hosting docker infrastructure, I have an apache server running on port 80. in docker container 1 I have nginx, also on port 80, and on a second Docker container I have lighttpd, again, on port 80.
Only the physical host will be accessible from outside, unless you 'expose' the ports of the containers to the outer world.. Docker can be set to expose container1 port 80 to physical port 81 for the nginx, and container2 port 80 to physical port 82 for lighttpd.
|
|
|
All times are GMT -5. The time now is 04:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|