Wetty Docker possible on Rpi 3? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
stephane77
Posts: 33
Joined: Sun Nov 22, 2020 2:29 am

Wetty Docker possible on Rpi 3?

Post by stephane77 »

Hi,
I discover Wetty docker but it failed on my Raspberry Pi 3! Information on : https://hub.docker.com/r/svenihoney/wetty

docker pull svenihoney/wetty
docker run -dt -e REMOTE_SSH_SERVER=192.168.1.108 -e REMOTE_SSH_PORT=22 -e REMOTE_SSH_USER=root -p 3000 --name term svenihoney/wetty

In portainer, it says it's running but it doesn't work on Rpi 3 (only on Vmware Virtual Machine)! I guess that I need an Armv7 for Rpi but I can't find any. I search for others dockers, but none offers the same functionnality! Does anyone knows a Rpi docker that does that (I prefer docker) or as 2nd choice and easy way to do it without docker.

Regards,
Stephane
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Wetty Docker possible on Rpi 3?

Post by Joulinar »

according docker.hub it's an amd64 docker image and therefore not able to run on armhf
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
stephane77
Posts: 33
Joined: Sun Nov 22, 2020 2:29 am

Re: Wetty Docker possible on Rpi 3?

Post by stephane77 »

Ok, thanks for the info!
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Wetty Docker possible on Rpi 3?

Post by Joulinar »

Probably my answer was to fast :)

Basically for a privat project I end up same situation. But I was able to discover a cool easy way to overcome this. Trick is to build your own image on your RPi. This is possible using Portainer. It has a build in function to create images from GitHub source. Luckily Wetty is offering one for the docker image. ;)

I got wetty up and running on my RPi4B aarch64. Ok it's 64bit bit, but should be working same way on 32bit

picture.PNG
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
stephane77
Posts: 33
Joined: Sun Nov 22, 2020 2:29 am

Re: Wetty Docker possible on Rpi 3?

Post by stephane77 »

Wow! It seems very nice!!! I use portainer for quite a while but I'm not to sure how to do that? Can you give me more details?
User avatar
WarHawk
Posts: 719
Joined: Thu Jul 20, 2017 8:55 am

Re: Wetty Docker possible on Rpi 3?

Post by WarHawk »

Joulinar wrote: Wed Dec 30, 2020 11:47 pm according docker.hub it's an amd64 docker image and therefore not able to run on armhf
Yup...seems there are arm version out there

https://hub.docker.com/search?q=wetty&t ... ecture=arm

This might work

docker pull jlerma27/wetty
docker run -dt -e REMOTE_SSH_SERVER=192.168.1.108 -e REMOTE_SSH_PORT=22 -e REMOTE_SSH_USER=root -p 3000 --name term jlerma27/wetty
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Wetty Docker possible on Rpi 3?

Post by Joulinar »

question is if @stephane77 like to use svenihoney/wetty or if he is ok to use jlerma27/wetty.

If it need to be venihoney/wetty, a rebuild is needed to have it running on arm ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
stephane77
Posts: 33
Joined: Sun Nov 22, 2020 2:29 am

Re: Wetty Docker possible on Rpi 3?

Post by stephane77 »

Hi everyone,
Happy new year!

I would prefer to use venihoney/wetty for multiple reasons. There is over 5M+ downloads for that docker; it must be a very good one, well tested, up to date and I would like to learn. Also, I might need to do that in the future for other dockers!

I'm curious. Can anyone provide me the steps how to do it?

Regards,
Stephane
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Wetty Docker possible on Rpi 3?

Post by Joulinar »

ok this guide I created on a RPi 3 Model B+ (armv7l) running DietPi v6.34.3
  1. basic DietPi installation
  2. install Git (ID 17), Docker (ID 162), Portainer (ID 185) using dietpi-software
  3. open Portainer
  4. connect to your endpoint
  5. go to images
  6. click + Build a new image
  7. name: dietpi/wetty
  8. select Build method: URL
  9. URL to be added: https://github.com/svenihoney/docker-wetty-alpine.git
  10. hit: Build the image
  11. this will take time now ... For me it was around 30 minutes
  12. to watch the progress, connect to your system using SSH and open htop. There should be some activity as long as the new image will be created
  13. once completed, portainer will switch and show the output. Don't worry if it's empty showing No build output available.
  14. now you are able to start container from command line (SSH)

    Code: Select all

    docker run -dt -e REMOTE_SSH_SERVER=192.168.x.x -e REMOTE_SSH_PORT=22 -e REMOTE_SSH_USER=root -p 3000:3000 --name wetty dietpi/wetty
  15. It will expose port 3000. Ensure it's not already used by other application
  16. on portainer > images you can remove the unused image without tag. This was used to build ours. On the other hand node:carbon-alpine you are not able to delete as it is a parent image for our wetty one
  17. now Wetty should be reachable on http://192.168.x.x:3000
And Happy New Year 2021
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
stephane77
Posts: 33
Joined: Sun Nov 22, 2020 2:29 am

Re: Wetty Docker possible on Rpi 3?

Post by stephane77 »

Thank you Joulinar! It works like a charm! One quick question!

At home I access Rpi with http://RaspberryPi:3000 or http://192.168.1.108:3000

If I use REMOTE_SSH_SERVER=RaspberryPi it fails but it works only with the ip address... any reason why?
docker run -dt -e REMOTE_SSH_SERVER=RaspberryPi -e REMOTE_SSH_PORT=22 -e REMOTE_SSH_USER=root -p 3000:3000 --name wetty --restart unless-stopped dietpi/wetty

Regards,
Stephane
Post Reply