Linux/Docker/Registry: Difference between revisions

From Wiki
< Linux‎ | Docker
(Die Seite wurde neu angelegt: „ Category:Linux/Docker Category:Linux“)
 
mNo edit summary
Line 1: Line 1:
== Example docker-compose.yml ==
<pre>
version: '3'


services:
  registry:
    image: registry:2
    ports:
    - "5000:5000"
</pre>


<pre>
docker-compose up -d
</pre>


[[Category:Linux/Docker]]
[[Category:Linux/Docker]]
[[Category:Linux]]
[[Category:Linux]]

Revision as of 16:34, 6 December 2021

Example docker-compose.yml

version: '3'

services:
  registry:
    image: registry:2
    ports:
    - "5000:5000"
docker-compose up -d