Difference between revisions of "Ubuntu docker-compose.yml example"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
   
 
   
 
  services:
 
  services:
   Ubuntu:
+
   Ubuntu1:
 
         [[image]]: ubuntu
 
         [[image]]: ubuntu
 
         container_name: Ubuntu_container_1  
 
         container_name: Ubuntu_container_1  
Line 11: Line 11:
 
         [[tty:]] true  
 
         [[tty:]] true  
  
 +
  Ubuntu2:
 +
        [[image]]: ubuntu
 +
        container_name: Ubuntu_container_2
 +
        restart: always
 +
        [[tty:]] true
  
  

Revision as of 15:01, 28 July 2021

This article is a Draft. Help us to complete it.


version: "3.9"

services:
  Ubuntu1:
       image: ubuntu
       container_name: Ubuntu_container_1 
       restart: always
       tty: true 
 Ubuntu2:
       image: ubuntu
       container_name: Ubuntu_container_2
       restart: always
       tty: true 


Related terms

See also

Advertising: