-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vernemq on openshift 3.9 #269
Comments
@ioolkos yes, it rangs. I did some changes to Dockerfile and now it works. I will stay tuned with your new changes. Thanks a lot |
@boks21 great can you let us know what the issue was and what worked for you? |
Sure, my problem was about Openshift changed group of etc, data and log from /vernemq and got a error when ran it. Then changed my DockerFile to following and problems are gone, now i can run it. ` WORKDIR /vernemq ENV DOCKER_VERNEMQ_KUBERNETES_LABEL_SELECTOR="app=vernemq" RUN mkdir -p $INSTALL_DIR && COPY bin/vernemq.sh /usr/sbin/start_vernemq RUN curl -L https://github.com/vernemq/vernemq/releases/download/$VERNEMQ_VERSION/vernemq-$VERNEMQ_VERSION.alpine.tar.gz -o /tmp/vernemq-$VERNEMQ_VERSION.alpine.tar.gz && COPY files/vm.args /vernemq/etc/vm.args EXPOSE 1883 8883 8080 44053 4369 8888 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 HEALTHCHECK CMD vernemq ping | grep -q pong RUN chgrp -R 0 /vernemq && CMD ["start_vernemq"] |
I can build a VerneMQ image and run locally on Docker, using oficial Docker File.
When i push it openshift and deploy it on openshift, POD as problem, vm.args is not found.
What kind of permissions need i change on DockerFile?
Thanks
The text was updated successfully, but these errors were encountered: