hallowed-electrician-32539
07/18/2022, 7:29 PMstale-actor-21884
07/19/2022, 6:19 AMorange-thailand-83295
07/19/2022, 7:55 AMhost.docker.internal
I tried on a new container, it does not work too.
Step i've done :
Firewall rule
New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow
New container
docker run -d -p 80:80 docker/getting-started
Ping :
docker exec -it containerName sh
/ # ping -c 2 host.docker.internal
PING host.docker.internal (172.17.32.1): 56 data bytes
--- host.docker.internal ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
Do you have an idea ? Thank'smysterious-crayon-60878
07/19/2022, 3:00 PMcalm-application-66065
07/20/2022, 9:47 AMenough-airport-11075
07/20/2022, 5:18 PMError: virtualization does not appear to be supported on your machine
bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips: 6820.02 clflush size: 64 cache_alignment: 64 address sizes: 43 bits physical, 48 bits virtual power management: 2022-07-19T233447.202Z: Error starting lima: Error: Virtualization does not appear to be supported on your machine. at Qe.ensureVirtualizationSupported (/opt/rancher-desktop/resources/app.asar/dist/app/background.js17179719) at processTicksAndRejections (nodeinternal/process/task queues96:5colossal-petabyte-46557
07/21/2022, 7:10 AMpolite-engineer-55788
07/21/2022, 10:23 AMbrief-lunch-13572
07/22/2022, 7:13 AMorange-pillow-95183
07/22/2022, 8:01 AMmicroscopic-lock-90701
07/22/2022, 5:30 PMlima-rancher-desktop:~# ls -l /dev/disk/by-label/data-volume
lrwxrwxrwx 1 root root 10 Jul 22 17:18 /dev/disk/by-label/data-volume -> ../../vdb1
But it seems it’s mounted on multiple mountpoints, however there is different data in each of them:
lima-rancher-desktop:/dev/disk/by-label# mount |grep data-volume
/dev/disk/by-label/data-volume on /mnt/data type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /etc type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /home type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /tmp type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /usr/local type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /var/lib type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /root type ext4 (rw,relatime)
Not sure how that is supposed to work. Also I’d like to know where the 100GB /dev/vdb1 is stored on macOS:
lima-rancher-desktop:~# fdisk /dev/vdb
...
Command (m for help): p
Disk /dev/vdb: 100 GB, 107374182400 bytes, 209715200 sectors
366634 cylinders, 13 heads, 44 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/vdb1 2,0,33 178,12,44 2048 209715199 209713152 99.9G 83 Linux
As I understand from the documentation data volumes are stored in /var/lib/docker/volumes on the lima vm, which is also the data-volume, so vdb1:
lima-rancher-desktop:/var/lib/docker/volumes# df -h .
Filesystem Size Used Available Use% Mounted on
/dev/disk/by-label/data-volume
97.9G 1.9G 90.9G 2% /mnt/data
I’m looking at where those are on my macOS host machine.billions-garage-97656
07/22/2022, 6:55 PMsticky-summer-13450
07/23/2022, 9:14 AMpass
.
Having pass
installed completely changes the way docker login
works. It stops all of the (admittedly fairly insecure) auths from .docker/config.json
from working. To use docker login
, and any interaction with registries which relies on docker login
, pass
insists that the user uses gpg
to create a key and reenters their docker login
credentials.
This change was sprung upon me just by installing Rancher Desktop.
For me, this stopped me from working for a while, which delayed a deployment, whilst I looked up all the manuals I needed to learn this new approach.
Maybe pass
could be suggested by Rancher Desktop instead of be depended upon by Rancher Desktop?polite-truck-85451
07/24/2022, 2:24 PMpolite-truck-85451
07/24/2022, 2:26 PMcontainerd -c /var/lib/rancher/k3s/agent/etc/containerd/config.toml -a /run/k3s/containerd/containerd.sock --state /run/k3s/containerd --root /var/lib/rancher/k3s/agent/containerd
billowy-traffic-45695
07/25/2022, 10:28 AMwitty-honey-18052
07/25/2022, 3:15 PMInvalid Plugins:
buildx failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-buildx: no such file or directory
scan failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-scan: no such file or directory
:~/.docker/cli-plugins$ ls
docker-compose
From tracking through the github issues, this looks like it should be downloaded and installed automatically. On the two machines I checked with 1.4.1, it isn't. Should it be?few-dawn-5966
07/26/2022, 2:36 AMcalm-application-66065
07/26/2022, 6:59 AMicy-engine-36723
07/26/2022, 11:37 AMfuture-eve-56565
07/26/2022, 10:13 PMquick-keyboard-83126
07/26/2022, 10:44 PMdocker buildx build --platform linux/amd64
(on m1) being fairly annoying? Namely, I don't have a local registry (I suppose I could add one), and I need a local image w/ an extra piece of software. But:
WARNING: No output specified for docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --loadAnd I don't have the bandwidth to upload my patched image to a registry just so i can download it so i can use it.
jolly-hospital-88781
07/27/2022, 4:02 AM$ docker run ubuntu echo hi # Simple test
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
$ dockerd
-bash: dockerd: command not found
$ which dockerd
$ which docker
/Users/mikel.mcdaniel/.rd/bin/docker
$ ls /Users/mikel.mcdaniel/.rd/bin
docker docker-compose docker-credential-osxkeychain kubectl nerdctl
docker-buildx docker-credential-ecr-login helm kuberlr rdctl
$ ps -e | grep -i docker
4243 ttys004 0:00.00 grep -i docker
$ ls /var/run/*docker*
ls: /var/run/*docker*: No such file or directory
$
calm-application-66065
07/27/2022, 10:35 AMcalm-application-66065
07/27/2022, 10:37 AMcalm-application-66065
07/27/2022, 10:38 AMcalm-application-66065
07/27/2022, 10:43 AMbillowy-traffic-45695
07/27/2022, 1:43 PMwide-mechanic-33041
07/27/2022, 1:45 PMsalmon-art-19742
07/27/2022, 2:52 PM