LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-13-2016, 01:08 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 856

Rep: Reputation: 30
Create order of ports that will be exposed in docker


Is this possible? Like in a docker compose file to have a weight on which port that needs to be exposed first? Or delay exposing the ports once the container is up?
 
Old 10-13-2016, 03:58 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 17,175

Rep: Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783
I do not really understand what is the goal of it.
 
Old 10-13-2016, 12:18 PM   #3
depam
Member
 
Registered: Sep 2005
Posts: 856

Original Poster
Rep: Reputation: 30
The main goal is to have 2 ports exposed. One port should be exposed first in like a few seconds before the other. Is that ever possible? The reason for this is to give time for the apps to bring up and not simultaneously being exposed. The other port is for monitoring purpose only.
 
Old 10-13-2016, 02:27 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://www.howtoforge.com/tutorial/...-introduction/
 
Old 10-14-2016, 02:13 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 17,175

Rep: Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783Reputation: 5783
still do not understand. exposing means only the ports are reachable from outside. The availability of the port depends on the application. I mean without a listener (App) the port is not opened and cannot be "contacted" from anywhere.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: How to create Docker Images with a Dockerfile LXer Syndicated Linux News 0 08-18-2016 02:14 AM
LXer: Red Hat partners with Docker to create Linux/Docker software stack LXer Syndicated Linux News 0 03-12-2015 06:54 PM
Create a User List in Alphabetical Order? carlosinfl Linux - General 7 10-26-2010 03:07 PM
Is it necessary to use setsid in order to create a daemon? mitsulas Programming 1 04-21-2010 12:52 PM
What software to use in order to create CHM files from a local HTML site dariyoosh Linux - Software 1 03-19-2009 03:46 AM

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

All times are GMT -5. The time now is 07:39 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