- sudo docker pull netflixoss/eureka generates the following error
- Using default tag: latest
Error response from daemon: manifest for netflixoss/eureka:latest not found
solution is -> - sudo docker pull netflixoss/eureka:1.3.1
- where 1.3.1 is the tag
- following is the way to run i.e create a container:
- sudo docker run netflixoss/eureka:1.3.1
- the problem is unable to connect to the port
- https://stackoverflow.com/questions/47612400/docker-run-unable-to-access-jar-file
- https://bartwullems.blogspot.com/2017/03/docker-error-err
- http://blog.thoward37.me/articles/where-are-docker-images-stored/
- https://stackoverflow.com/questions/25101312/does-all-running-docker-containers-have-a-separate-process-id
- sudo docker container ls -> will all the running containers
- docker --help//help commands
- how to locate Dockerfile of pulled docker image ?
- docker-compose.yml
- If you need to customize an image image, you should create a Dockerfile, with the first line:
FROM ubuntu
- Yes, every docker container will have a different PID on your host machine.
You can get a docker containers PID by doing:
If you kill the process on your host, your docker container will die.docker inspect --format '{{ .State.Pid }}' CONTAINER_ID
example
sudo docker inspect --format '{{ .State.Pid }}' 18f966e5228f
Tuesday, August 7, 2018
docker
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment