K
K
krll-k2016-12-18 13:06:59
Docker
krll-k, 2016-12-18 13:06:59

Why docker one container started after the system booted, and the other did not?

[email protected]:~# docker ps                                                                                                                                
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                                                  
  NAMES                                                                                                                                                    
b061b1f3cb24        umputun/dockvpn     "/bin/sh -c run"    13 days ago         Up 2 minutes        0.0.0.0:443->443/tcp, 0.0.0.0:1194->1194/udp, 8080/tcp 
  elated_franklin                                                                                                                                          
[email protected]:~# docker start asterisk                                                                                                                    
asterisk                                                                                                                                                   
[email protected]:~# docker ps -a                                                                                                                             
CONTAINER ID        IMAGE                     COMMAND             CREATED             STATUS              PORTS                                            
        NAMES                                                                                                                                              
7ad7af1a2cea        voipnovatos/asterisk-13   "/root/config.sh"   12 days ago         Up 17 seconds                                                        
        asterisk                                                                                                                                           
b061b1f3cb24        umputun/dockvpn           "/bin/sh -c run"    13 days ago         Up 3 minutes        0.0.0.0:443->443/tcp, 0.0.0.0:1194->1194/udp, 808
0/tcp   elated_franklin                                                                                                                                    
[email protected]:~# uptime                                                                                                                                   
 10:06:01 up 3 min,  2 users,  load average: 0.02, 0.09, 0.04

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
krll-k, 2016-12-18
@krll-k

key was forgotten --restart=always

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question