Difference between revisions of "Image (docker-compose.yml)"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  <code>image:</code>
 
  <code>image:</code>
  
 +
Image (docker-compose.yml)
  
 
  image: Ubuntu
 
  image: Ubuntu
 +
image: [[nginx]]:1.17.3
 +
image: [[postgres]]:11.8-alpine
 
   
 
   
 
  [[docker-compose up -d]]
 
  [[docker-compose up -d]]

Revision as of 20:54, 21 June 2022

image:
Image (docker-compose.yml)
image: Ubuntu
image: nginx:1.17.3
image: postgres:11.8-alpine

docker-compose up -d
Creating network "ubuntu_default" with the default driver
ERROR: no such image: Ubuntu: invalid reference format: repository name must be lowercase

Related terms

See also

Advertising: