Wednesday, September 16, 2020

private docker registry nasıl oluşturulur?

 [aokanx@control-plane opt]$ cd /opt

 [aokanx@control-plane opt]$ ls
containerd  docker-registry  gitlab
 

[aokanx@control-plane opt]$ cd docker-registry/
 

[aokanx@control-plane docker-registry]$ ls
data  docker-compose.yml


[aokanx@control-plane docker-registry]$ cat docker-compose.yml
version: '3'

services:
  registry:
    image: registry:2
    ports:
    - "5000:5000"
    environment:
      REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data
    volumes:
      - ./data:/data

No comments:

Post a Comment