set up docker and run httpd in 2 vagrant machines. 5
                                            
                                                
                                                
                                                
                                                
                                                
                                                 1099 단어  Docker
                    
set up a new vagrant and pull image 
in Mac PC
bashmkdir docker_2
bashcd docker_2
Change IP address
Vagrantfileconfig.vm.network "private_network", ip: "192.168.55.45"
bashvagrant up
Login to virtual machine
bashvagrant ssh
Then Setup docker again in this machine.
IP address is 192.168.55.45
bashsudo docker login
bashsudo docker pull jojiurano/bibo
check images
bashsudo docker images
You can run httpd in this machine also.sudo docker run -p 8080:80 -d jojiurano/bibo
You can access here.
http://192.168.55.45:8080/ 
 
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(set up docker and run httpd in 2 vagrant machines. 5), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/joji/items/1824cc143c1b75681b80
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
mkdir docker_2
cd docker_2
config.vm.network "private_network", ip: "192.168.55.45"
vagrant up
vagrant ssh
sudo docker login
sudo docker pull jojiurano/bibo
sudo docker images
sudo docker run -p 8080:80 -d jojiurano/bibo
Reference
이 문제에 관하여(set up docker and run httpd in 2 vagrant machines. 5), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/joji/items/1824cc143c1b75681b80텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                                
                                
                                
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)