Coder Social home page Coder Social logo

Comments (4)

araczkowski avatar araczkowski commented on September 26, 2024

try to connect from your host to a ruining container via docker's attach command

by ID:
$ sudo docker attach d74ba2f4933b
or by Name
$ sudo docker attach araczkowski/oracle-apex-ords

from docker-oracle-apex-ords.

omarsawalhah avatar omarsawalhah commented on September 26, 2024

While the docker daemon is running

sudo docker attach araczkowski/oracle-apex-ords
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

from docker-oracle-apex-ords.

anand-gondkar avatar anand-gondkar commented on September 26, 2024

Hi,
I am also facing same issue. I just did below in my Windows env docker -
docker pull araczkowski/oracle-apex-ords
docker run -d --name ora -p 49160:22 -p 8080:8080 -p 1521:1521 araczkowski/oracle-apex-ords

$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
da618da70c52 araczkowski/oracle-apex-ords "/entrypoint.sh" 32 minutes ago Up 31 minutes 0.0.0.0:1521->1521/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:49160->22/tcp ora

http://localhost:8080/ords/apex --> this doesn't connect
I tried below -
$ ssh root@localhost -p 49160
ssh: connect to host localhost port 49160: Connection refused

Appreciate your pointers on this. Thanks.

from docker-oracle-apex-ords.

araczkowski avatar araczkowski commented on September 26, 2024

Hi, I don't have Windows to check. It was developed and tested on Linux. Don't know how docker works on Windows, maybe the issue is with docker - not mapping ports to localhost on Windows.
There is a bigger discusion here docker/for-win#204

You can try to check the solution/workaround from the end of this topic and try to access <docker-machine ip>:<exposed port> instead of localhost:<exposed port>.

Or you can try to connect from your host to a ruining container via docker's attach command

by ID:
$ sudo docker attach da618da70c52
or by Name
$ sudo docker attach araczkowski/oracle-apex-ords

good luck

from docker-oracle-apex-ords.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.