-
Notifications
You must be signed in to change notification settings - Fork 42
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
Setting up Oasis with Docker #433
Comments
Does this also happen when you use the with Docker documentation? There's a Dockerfile in the |
Oops, I missed this doc. I did run the
So far so good until here but when I ping the addess
The server prints out:
The browser only renders the following:
This is certainly a port binding thing, I did get to access :) Thanks a lot and sorry for not reading the manual. |
What's the problem you want solved?
I'm struggling to start oasis inside a container to join this other issue. It does work on my Ubuntu14.04 host machine if I have Patchwork running but it does not work on docker running either on my Ubuntu or MacOS machine.
Here is how I reproduced the issue:
Start docker (if you need) and pull node image. I'm using node version 13.
Start a container with this image with an interactive bash session:
Installing oasis package globally:
After installing, oasis seems to run:
Commit the changes and start again binding the correct ports. To do that we need to exit the container and check what is the id of the container we just left with:
This time the id was
ac76edd7ad40
, it can be shortened toac76
:Run the interactive session again but binding the local port
8000
to the container port3000
:As an extra step, check if the port binding is working properly by running an
http-server
on port3000
and checking if I can access it on port8000
of my "host" computer:And in another terminal session on "host" computer see if I get what I should:
Then starting oasis:
But now it doesn't serve anything on port
8000
:Am I missing something or is this an unexpected behaviour?
The text was updated successfully, but these errors were encountered: