Docker custom containers mirroring

 

Using Supervisor with Docker

In Docker, if you want to run multiple processes, you can use Supervisor,
supervisord conf.
[Supervisord]
nodaemon = to true
[Program: sshd]
the Command = / usr / sbin / sshd -D
[Program: apache2]
the Command = / bin / bash -c "source / etc / apache2 / envvars & & exec / usr / sbin / apache2 -DFOREGROUND"

 

whether ssh server should be included into the mirror in
a container actually run several programs?
Issue program parameters and configuration files
problem log output
Docker friendly program architecture

 

 

 

Volume of Internet-based

 

 


Link's Internet-based

Isolation link port is isolated

 

Cross-way Internet hosts:

 

 

 


Based on the Internet

 

 

Guess you like

Origin www.cnblogs.com/w-honey/p/12657490.html