Open kaskavalci opened 2 years ago
With rootful docker or rootless docker?
Could you provide the output of docker info
(or just Lima yaml) and Lima version?
I am using examples/docker so it seems it is rootless. I am using lima 0.8.0. Below is the docker info information.
$ docker info
Client:
Context: default
Debug Mode: false
Server:
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 3
Server Version: 20.10.12
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: false
userxattr: true
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
runc version: v1.0.2-0-g52b36a2
init version: de40ad0
Security Options:
seccomp
Profile: default
rootless
cgroupns
Kernel Version: 5.13.0-22-generic
Operating System: Ubuntu 21.10
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.828GiB
Name: lima-default
ID: N6MU:UWCY:WKWO:OIUC:O26T:7ZHS:GT7K:YSHV:ZEZO:4W5H:5KAE:G7RK
Docker Root Dir: /home/lima.linux/.local/share/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
When a container is started without host port, it is not accessible via lima.
It seems even though they are started with a specific host port, when that port was used before, it is still not available.