Ubuntu docker-compose.yml example

From wikieduonline
Revision as of 15:16, 28 July 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.


version: "3.3"

services:
  Ubuntu1:
       image: ubuntu
       container_name: Ubuntu_container_1 
       restart: always
       stdin_open: true # docker run -i
       tty: true        # docker run -t

 Ubuntu2:
       image: ubuntu
       container_name: Ubuntu_container_2
       restart: always
       tty: true
       stdin_open: true # docker run -i
       tty: true        # docker run -t 


Related terms

See also

Advertising: