quick-keyboard-83126
08/11/2025, 3:22 PM--inspect-brk
) with chrome://inspect to connect from my host (mac, m1, Sequoia). I don't want to kill my container and recreate it since i did a lot of file system modifications to set up my world as well as env tweaks to get things to where they are.
is there a way to make things happy?fast-garage-66093
08/11/2025, 4:11 PMfast-garage-66093
08/11/2025, 4:12 PMssh -L 9229:192.168.5.2:9229 localhost
quick-keyboard-83126
08/11/2025, 7:24 PMfast-garage-66093
08/11/2025, 7:26 PMhost.docker.internal
, maybe I should have used the symbolic name.fast-garage-66093
08/11/2025, 7:26 PMfast-garage-66093
08/11/2025, 7:27 PMfast-garage-66093
08/11/2025, 7:27 PMquick-keyboard-83126
08/11/2025, 7:28 PMquick-keyboard-83126
08/11/2025, 7:28 PMquick-keyboard-83126
08/11/2025, 7:29 PMfast-garage-66093
08/11/2025, 7:29 PMquick-keyboard-83126
08/11/2025, 7:29 PMquick-keyboard-83126
08/11/2025, 7:30 PMfast-garage-66093
08/11/2025, 7:30 PMfast-garage-66093
08/11/2025, 7:30 PMfast-garage-66093
08/11/2025, 7:31 PMquick-keyboard-83126
08/11/2025, 7:31 PMfast-garage-66093
08/11/2025, 7:31 PMquick-keyboard-83126
08/11/2025, 7:31 PMjsoref@jsoref-mbp ~ % docker ps
Cannot connect to the Docker daemon at unix:///Users/jsoref/.rd/docker.sock. Is the docker daemon running?
quick-keyboard-83126
08/11/2025, 7:31 PMprettier@324aaa6d95f7:~/.ssh$ time="2025-08-11T15:28:19-04:00" level=error msg="error waiting for container: unexpected EOF"
fast-garage-66093
08/11/2025, 7:33 PMquick-keyboard-83126
08/11/2025, 7:33 PMrdctl shell
is happy-ishfast-garage-66093
08/11/2025, 7:33 PMrdctl shell docker ps
?quick-keyboard-83126
08/11/2025, 7:33 PMlima-rancher-desktop:/Users/jsoref/code$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
324aaa6d95f7 debian:trixie "bash" 5 hours ago Up 5 hours bold_fermat
lima-rancher-desktop:/Users/jsoref/code$ docker exec -it 324aaa6d95f7 bash
root@324aaa6d95f7:/#rancher-desktop
quick-keyboard-83126
08/11/2025, 7:34 PMquick-keyboard-83126
08/11/2025, 7:34 PMjsoref@jsoref-mbp code % ps aux|grep ssh
jsoref 33836 0.0 0.0 426846096 1808 ?? S Wed11AM 0:00.88 /usr/bin/ssh-agent -l
jsoref 10964 0.0 0.0 410732592 1472 s086 S+ 3:34PM 0:00.00 grep ssh
jsoref 10753 0.0 0.0 411069920 31824 ?? Ss 3:28PM 0:10.73 ssh: /Users/jsoref/Library/Application Support/rancher-desktop/lima/0/ssh.sock [mux]
fast-garage-66093
08/11/2025, 7:35 PMquick-keyboard-83126
08/11/2025, 7:35 PMfast-garage-66093
08/11/2025, 7:35 PMfast-garage-66093
08/11/2025, 7:36 PMfast-garage-66093
08/11/2025, 7:37 PMfast-garage-66093
08/11/2025, 7:37 PMfast-garage-66093
08/11/2025, 7:38 PMquick-keyboard-83126
08/11/2025, 7:38 PMquick-keyboard-83126
08/11/2025, 7:38 PMquick-keyboard-83126
08/11/2025, 7:38 PMfast-garage-66093
08/11/2025, 7:39 PMfast-garage-66093
08/11/2025, 7:39 PMquick-keyboard-83126
08/11/2025, 7:39 PMquick-keyboard-83126
08/11/2025, 7:40 PMquick-keyboard-83126
08/11/2025, 7:42 PMquick-keyboard-83126
08/11/2025, 7:42 PMquick-keyboard-83126
08/11/2025, 7:43 PMquick-keyboard-83126
08/11/2025, 7:43 PMquick-keyboard-83126
08/11/2025, 7:44 PMquick-keyboard-83126
08/11/2025, 7:44 PMroot@324aaa6d95f7:~/.ssh# ssh -L 9229:host.docker.internal:9229 localhost
Linux 324aaa6d95f7 6.6.93-0-virt #1-Alpine SMP PREEMPT_DYNAMIC 2025-06-09 11:51:57 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Aug 11 19:43:28 2025 from ::1
root@324aaa6d95f7:~#
quick-keyboard-83126
08/11/2025, 7:45 PM-R
instead of a -L
quick-keyboard-83126
08/11/2025, 7:45 PMfast-garage-66093
08/11/2025, 7:45 PMfast-garage-66093
08/11/2025, 7:54 PMssh -N -R 8888:localhost:80 jan@host.docker.internal
fast-garage-66093
08/11/2025, 7:54 PM❯ curl localhost:8888
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
...
fast-garage-66093
08/11/2025, 7:55 PM-N
is needed to prevent it from running your shell profilequick-keyboard-83126
08/11/2025, 8:02 PMfast-garage-66093
08/11/2025, 8:03 PMquick-keyboard-83126
08/11/2025, 8:04 PMfast-garage-66093
08/11/2025, 8:06 PM❯ docker run -d -p 5500:80 --restart=always --name=nginx nginx
970873a337493f494d08cec1603fcfc8c5aac5cd6cd44d96de2b89a12c94e320
❯ docker exec -it nginx bash
root@970873a33749:/# apt update
root@970873a33749:/# apt install -y openssh-client
root@970873a33749:/# ssh -N -R 8888:localhost:80 jan@host.docker.internal
fast-garage-66093
08/11/2025, 8:06 PMquick-keyboard-83126
08/11/2025, 8:07 PMquick-keyboard-83126
08/11/2025, 8:07 PMfast-garage-66093
08/11/2025, 8:07 PMquick-keyboard-83126
08/11/2025, 8:07 PMquick-keyboard-83126
08/11/2025, 8:07 PMfast-garage-66093
08/11/2025, 8:08 PMquick-keyboard-83126
08/11/2025, 8:08 PM