Skip to content
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

Unable to view any logs for the docker container #296

Open
PrernaPadhee opened this issue Mar 15, 2022 · 5 comments
Open

Unable to view any logs for the docker container #296

PrernaPadhee opened this issue Mar 15, 2022 · 5 comments

Comments

@PrernaPadhee
Copy link

PrernaPadhee commented Mar 15, 2022

I am trying to setup the Oasis Rosetta docker container. At the present state I am unable to see any container logs and am not able to run any curl queries against it.
Please make note of the docker-compose file I have used.

version: '2'
services:
node-oasis:
image: oasis-rosetta-gateway:latest
container_name: oasis-rosetta
restart: always
ports:
- "5332:8080"
- "26656:26656"
volumes:
- /COINIAPremSSD2T/node-oasis-rosetta/data:/data
- /COINIAPremSSD2T/node-oasis-rosetta/node-config:/etc
mem_limit: 10g

If i run the docker container via the following run command, i see the same result, no logs
sudo docker run -d -v /COINIAPremSSD2T/node-oasis-rosetta/data:/data -v /COINIAPremSSD2T/node-oasis-rosetta/node-config:/etc -p 8080:8080 -it oasis-rosetta-gateway

@pro-wh
Copy link
Collaborator

pro-wh commented Mar 25, 2022

can you run docker attach on that container? I think by default it logs everything to the container output

@ningcb
Copy link

ningcb commented Apr 4, 2022

  • Can you post the logs and console output when running the docker command?
  • How about docker logs command?

@PrernaPadhee
Copy link
Author

  • Can you post the logs and console output when running the docker command?
  • How about docker logs command?

image

image

@PrernaPadhee
Copy link
Author

i am unable to see any logs for the container

@ningcb
Copy link

ningcb commented Apr 19, 2022

  • Would you log in the docker and manually start oasis-node and rosetta-gateway and check what console log you will see?
  • Are you using the same docker file in the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants