adamant-kite-43734
06/09/2022, 4:03 PMfast-garage-66093
06/09/2022, 4:31 PMnerdctl run
command did not specify the <http://k8s.io|k8s.io>
namespace, so tries to locate the image in default
, where it doesn't exist. It works like this:
$ nerdctl -n <http://k8s.io|k8s.io> run -p 8888:8888 l_jupyter:latest
Entered start.sh with args: jupyter lab
Executing the command: jupyter lab
[I 2022-06-09 16:30:13.062 ServerApp] jupyterlab | extension was successfully linked.
fast-garage-66093
06/09/2022, 4:32 PMimagePullPolicy: Always
, which tells kubelet to ignore the local image and pull a copy from dockerhub, where the repository does not exist. You need to change the policy to Never
for it to use the locally built image.icy-parrot-30770
06/09/2022, 8:39 PMfast-garage-66093
06/09/2022, 10:39 PMnerdctl -n <http://k8s.io|k8s.io> run ...
because the namespace is owned by k8s, and kubelet will eventually kill your container because it is not owned by a Pod. So if you want to run the plain container, build and run in the default
namespaceicy-parrot-30770
06/20/2022, 4:14 PM