Easiest way to deploy docker application -
my application uses multiple technologies redis, couchdb, nodejs, ... of them take docker hub (e.g. redis) , others (e.g. nodejs app) hosted in docker repo on own server. easiest way deploy full application remote system? great if use 1 docker-compose.yml , run docker-compsoe -d
, think won't work, because use images own docker repo. first have pull these images via docker pull
on remote system or possible tell .yml-file pull repo? or there other solution?
don't worry private registry. docker-compose can pull images private repository automatically.
you need authenticate before on private resgistry before pulling. type $docker login <private_repository>
before $docker-compose up
note! there need give right names own images. need tag image your_registry_host
docker tag [options] image[:tag] [registryhost/][username/]name[:tag]
and after can push image own registry. docker-compose need specify full image name hostname
image: my_registry/image_name
Comments
Post a Comment