Manageiq-ui-service development using docker (access to :3001 port)


#1

I want to use docker image to develop manageiq-ui-service.
How can I get access to yarn start :3001 port?
$ docker run --privileged -d -p 8443:443 -p 3001:3001 manageiq/manageiq:fine-2 don’t help me.


#2

There is a Vagrant image repo that will create an image ready to develop on it.

It will install everything you need to develop on it.

It would be great to have something similar using vagrant-docker instead of vagrant-virtualbox, if you dare :smiley:

Sergio


#3

$ docker run --privileged -d -p 8443:443 -p 3000:3000 manageiq/manageiq:fine-2
$ vmdb
$ rails s #=> Rails 5.0.3 application starting in production on http://0.0.0.0:3000
Why in this case I have access to http://127.0.0.1:3000/api, but in case rails s -b '127.0.0.1'# => Rails 5.0.3 application starting in production on http://127.0.0.1:3000 I havn’t access to http://127.0.0.1:3000/api

I’m confused why is it happen?