powerful-elephant-25838
06/08/2022, 3:17 PMblue-cricket-57792
06/08/2022, 3:53 PMclean-laptop-5791
06/08/2022, 8:35 PMpolite-engineer-55788
06/09/2022, 9:58 AMrdctl
has ability to pull down the kubeconfig
from the VM, do we have any plan to support that command if not happy to request for that featureagreeable-lifeguard-63921
06/09/2022, 1:29 PM➜ aws ecr get-login-password --region us-east-1 --profile PROFILENAME | nerdctl --namespace <http://k8s.io|k8s.io> login --username AWS --password-stdin <http://ACCOUNTID.dkr.ecr.us-east-1.amazonaws.com|ACCOUNTID.dkr.ecr.us-east-1.amazonaws.com>
time="2022-06-09T13:23:20Z" level=fatal msg="error saving credentials: error storing credentials - err: exit status 52, out: ``"
melodic-hamburger-23329
06/09/2022, 1:42 PMnerdctl images
)? If I leave it out, I get correct behavior, though.bored-farmer-36655
06/09/2022, 3:22 PMicy-parrot-30770
06/09/2022, 4:03 PMnerdctl -n k8s.io pull jupyter/datascience-notebook:python-3.10.4I can run this basic image :
nerdctl run -p 8888:8888 jupyter/datascience-notebook:python-3.10.4-> it works fine But if build locally a custom image based on this one :
nerdctl build --namespace k8s.io -t l_jupyter:latest .based a Dockerfile like : --------------------------- FROM jupyter/datascience-notebook:python-3.10.4 RUN pip3 install --upgrade python-dotenv --------------------------- => the image "l_jupyter:latest" is visible in the "rancher desktop"/preference/images list in the namespace k8s.io and if i try to run this custom image like this :
nerdctl run -p 8888:8888 l_jupyter:latestOR via a "jupyter.yaml" deployment file like : ---------------------------
apiVersion: apps/v1
kind: Deployment
metadata:
name: jupyter-deployment
namespace: default
labels:
app: jupyter
spec:
replicas: 1
selector:
matchLabels:
app: jupyter
template:
metadata:
labels:
app: jupyter
spec:
containers:
- name: jupyter
image: l_jupyter:latest
imagePullPolicy: Always
....
....--------------------------- via the command :
kubectl -n default apply -f jupyter.yamlor
kubectl -n k8s.io apply -f jupyter.yamlI get the error:
Failed to pull image "l_jupyter:latest": rpc error: code = Unknown desc = Error response from daemon:
pull access denied for l_jupyter, repository does not exist or may require 'docker login': denied: requested access to the resource is deniedI do not understand from where this error come from Do you have any advice to solve it ??
quick-keyboard-83126
06/09/2022, 7:06 PMAllow sudo access
seems like a strange way to describe the rancher feature...
It feels like it's more Make global changes to system (requires sudo access)
acceptable-room-56671
06/10/2022, 1:41 PMfast-laptop-44610
06/10/2022, 7:33 PMacceptable-room-56671
06/11/2022, 3:38 PMambitious-jackal-29837
06/11/2022, 8:02 PMnerdctl login $registry
is not working for mefierce-cat-34865
06/11/2022, 10:50 PMquick-keyboard-83126
06/13/2022, 6:11 PMquick-keyboard-83126
06/13/2022, 8:47 PMquick-keyboard-83126
06/13/2022, 9:23 PMmelodic-nest-79477
06/14/2022, 9:53 AMdamp-dog-95269
06/14/2022, 3:03 PMsystemd
-powered containers properly anymore for some reason.
I'm not sure whether it's because of Docker version itself, or it's because of the change of Desktop.
To make it clearer, I used footloose, a small cli tool to create so-called VM-like containers where the sshd
process will be on by systemd
within the container so that I can SSH into it by its simple wrapper command, like:
footloose ssh ubuntu-0 -c ubuntu18.04-1-arm64.yaml
But it fails now as I found that the sshd
process was not running there like it should.
The Dockerfile I used to build Mac M1 image is:
FROM arm64v8/ubuntu:18.04
ENV container docker
# Don't start any optional services except for the few we need.
RUN find /etc/systemd/system \
/lib/systemd/system \
-path '*.wants/*' \
-not -name '*journald*' \
-not -name '*systemd-tmpfiles*' \
-not -name '*systemd-user-sessions*' \
-exec rm \{} \;
RUN apt-get update && \
apt-get install -y \
dbus systemd openssh-server net-tools iproute2 iputils-ping curl wget vim-tiny sudo && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN >/etc/machine-id
RUN >/var/lib/dbus/machine-id
EXPOSE 22
RUN systemctl set-default multi-user.target
RUN systemctl mask \
dev-hugepages.mount \
sys-fs-fuse-connections.mount \
systemd-update-utmp.service \
systemd-tmpfiles-setup.service \
console-getty.service
RUN systemctl disable \
networkd-dispatcher.service
# This container image doesn't have locales installed. Disable forwarding the
# user locale env variables or we get warnings such as:
# bash: warning: setlocale: LC_ALL: cannot change locale
RUN sed -i -e 's/^AcceptEnv LANG LC_\*$/#AcceptEnv LANG LC_*/' /etc/ssh/sshd_config
# <https://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/>
STOPSIGNAL SIGRTMIN+3
CMD ["/bin/bash"]
So some guesses here:
1. It's because of the Docker
version for the potential cgroup
related issues;
2. It's because of the OS used in the VM powered by Rancher Desktop, which is:
$ uname -a
Linux lima-rancher-desktop 5.15.32-0-virt #1-Alpine SMP Mon, 28 Mar 2022 13:09:00 +0000 aarch64 Linux
Kindly advise. Thanks!helpful-lock-473
06/14/2022, 6:11 PMError: /private/var/folders/7y/r3mp74g92hn4rtct7nm05g3c0000gp/T/AppTranslocation/B1E60F44-EDB7-45BC-8F61-0A3E9549F7D1/d/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> exited with code 1
From the Lima logs, it looks like a permissions issue on SSH. I'm not sure why this started happening now, and I haven't been successful in directly changing perms on ssh (operation not permitted). Has anybody seen this before? Thanksquick-keyboard-83126
06/14/2022, 6:14 PMclean-pager-20838
06/14/2022, 11:40 PMclean-pager-20838
06/14/2022, 11:52 PMdocker image ls
i can see rancher images, using .rd/bin/docker
i cannot. is that a special filter?worried-helmet-59461
06/15/2022, 1:58 PMgifted-answer-45715
06/15/2022, 8:54 PMplain-petabyte-67798
06/15/2022, 9:48 PMHow can I enable the ingress of rancher desktop.
Does anyone know why when I try to telnet from my host to the ip of the vm that rancher desktop generates with a port that is listening.
I am running these tests on a mac running macos monterey
future-pharmacist-1236
06/16/2022, 12:32 AMnerdctl
with a -p <port>:<port>/udp
and not get UDP port exposed. I’m not sure why? I’m trying to figure that out if anyone knows?square-queen-28787
06/16/2022, 7:52 AMfierce-cat-34865
06/16/2022, 8:03 PMsticky-summer-13450
06/17/2022, 10:08 AM> sudo zypper install rancher-desktop
Loading repository data...
Reading installed packages...
'rancher-desktop' is already installed.
No update candidate for 'rancher-desktop-1.3.0-lp153.2.3.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.