Skip to content

ssh issue on a Windows 7 machine #2

Open
@stephandejongnl

Description

@stephandejongnl

I followed the steps to install the environment on a Windows 7 machine.

To get Docker running I installed Docker toolbox for Windows 7.
Created a project folder with in this folder the folders "shared/www"
Updated the "docker-compose.yml" file.

And started the container:

$ command docker-compose up -d

The container is started the ssh port is set to 2222

$ docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bc59c983e26f alankent/magento2devbox-unison:latest "/entrypoint.sh" 17 hours ago Up 8 minutes 0.0.0.0:32769->22/tcp, 0.0.0.0:32768->5000/tcp testproject_unison_1
603637884bb8 alankent/magento2devbox-web:latest "/usr/local/bin/en..." 17 hours ago Up 8 minutes 5000/tcp, 9000-9001/tcp, 44100/tcp, 0.0.0.0:2222->22/tcp, 0.0.0.0:9090->80/tcp, 0.0.0.0:32771->3000/tcp, 0.0.0.0:32770->3001/tcp testproject_web_1
57be0e9ced37 mysql:5.6 "docker-entrypoint..." 18 hours ago Up 8 minutes 0.0.0.0:32772->3306/tcp testproject_db_1

When I try to connect to the container with ssh the connection is refused.

$ ./m2ssh
ssh: connect to host localhost port 2222: Connection refused

@alankent or someone else who have any idea why?

I also tried to install it on an old MackBook and that works fine.
however this MacBook isn't mine so I can’t use is to develop on it was just to test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions