ByteInternet / hypernode-docker

Fast and easy Docker for Magento development
https://community.hypernode.io/hypernode-docker
35 stars 9 forks source link

MOTD shows incorrect ip address #1

Closed AlexanderGrooff closed 6 years ago

AlexanderGrooff commented 6 years ago

Docker with IP 172.17.0.2 shows the incorrect IP address in the MOTD. For example:

$ ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null root@172.17.0.2

...

Host/IP:    xxxxx-dummytag-docker.nodes.hypernode.io (172.17.0.3)
Account_id: 666
Release:    release-5278-32-gbb180eb @ 2018-06-07 09:00:29 UTC

MOTD should actually show 172.17.0.2.

vdloo commented 6 years ago

will be fixed in the new release

vdloo commented 6 years ago

fixed:

$ docker run docker.hypernode.com/byteinternet/hypernode-docker:latest
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/10_login_instructions.sh...
                                              _
  /\  /\_   _ _ __   ___ _ __ _ __   ___   __| | ___
 / /_/ / | | | '_ \ / _ \ '__| '_ \ / _ \ / _` |/ _ \
/ __  /| |_| | |_) |  __/ |  | | | | (_) | (_| |  __/
\/ /_/  \__, | .__/ \___|_|  |_| |_|\___/ \__,_|\___|
        |___/|_|

Host/IP:    xxxxx-dummytag-docker.nodes.hypernode.io Account_id: 666
Release:    release-5304 @ 2018-06-08 12:21:45 UTC

Handy commands (more at http://support.hypernode.com):

 livefpm (see live PHP status)
 tal | pnl (follow live requests)

 hypernode-importer (import a Magento shop)
 hypernode-image-optimizer (reduce image size)
 hypernode-ftp (manage FTP accounts)

 magerun list (many useful extensions)

------------------------------------------------------------------------------
The SSH daemon will be up in a couple of seconds, you can login with: ssh -A app@172.17.0.3