LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-29-2014, 07:34 PM   #1
crazyraisin
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Rep: Reputation: Disabled
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?
 
Old 12-30-2014, 01:56 AM   #2
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
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)
 
Old 12-30-2014, 08:06 AM   #3
crazyraisin
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
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?
 
Old 12-30-2014, 08:21 AM   #4
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Docker containers zakame Slackware 2 11-23-2014 10:09 PM
LXer: Ubuntu LXD: Not a Docker replacement, a Docker enhancement LXer Syndicated Linux News 0 11-05-2014 08:40 PM
LXer: Docker Founder Explains What Docker is all About LXer Syndicated Linux News 0 08-21-2014 09:20 PM
LXer: What is Docker? LXer Syndicated Linux News 0 08-01-2014 08:03 PM
Docker Bar TomalakBORG Linux - Software 4 04-14-2005 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration