Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving a docker-compose container to openshift V3

I would like to move the Omnibus gitlab docker image to openshift V3, so I've got the dockerfile and docker-compose files @ https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/docker. What is the best way for having a scalable openshift v3 pod ? As the command oc import docker-compose is experimental so I stuck and lost in the process of building a reliable solution. Thanks Herve

like image 229
Herve Meftah Avatar asked Dec 31 '16 09:12

Herve Meftah


1 Answers

You should use https://kompose.io/

Run kompose convert --provider=openshift in the same directory as your docker-compose.yaml file.

like image 100
Graham Russell Avatar answered Oct 05 '22 07:10

Graham Russell