Skip to content

FATA[0604] did not receive an event with the "running" status (unreachable to Internet with --network=vzNAT) #3545

@fyqtian

Description

@fyqtian

Description

I want to expose the Docker container port to other hosts.
limactl start --vm-type=vz --network=vzNAT template://docker

version

❯ sw_vers
ProductName:		macOS
ProductVersion:		14.7.5
BuildVersion:		23H527
❯ uname -m
arm64
❯ limactl --version
limactl version 1.0.2

run start command

❯ limactl start --vm-type=vz --network=vzNAT  template://docker

? Creating an instance "docker" Proceed with the current configuration
INFO[0001] Starting the instance "docker" with VM driver "vz"
WARN[0001] vmType vz: ignoring networks[0]: [Metric]
INFO[0001] Attempting to download the image              arch=aarch64 digest="sha256:6e1f90d3e81b90202b46c3573590867e575e504af2c63dd5c9b529f174e3d793" location="https://cloud-images.ubuntu.com/releases/24.04/release-20241119/ubuntu-24.04-server-cloudimg-arm64.img"
INFO[0001] Using cache "/Users/fanv/Library/Caches/lima/download/by-url-sha256/9c02b8a6b63e6cb015dc7b94afbe8611f228f355b77ccda89e6f42077c8f5aef/data"
INFO[0001] Converting "/Users/fanv/.lima/docker/basedisk" (qcow2) to a raw disk "/Users/fanv/.lima/docker/diffdisk"
3.50 GiB / 3.50 GiB [---------------------------------------] 100.00% 1.24 GiB/s
INFO[0004] Expanding to 100GiB
INFO[0005] [hostagent] hostagent socket created at /Users/fanv/.lima/docker/ha.sock
INFO[0005] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/fanv/.lima/docker/serial*.log")
INFO[0005] SSH Local Port: 55274
INFO[0005] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0005] [hostagent] [VZ] - vm state change: running
INFO[0015] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0032] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0033] [hostagent] The essential requirement 1 of 2 is satisfied
INFO[0033] [hostagent] Waiting for the essential requirement 2 of 2: "user session is ready for ssh"
INFO[0034] [hostagent] The essential requirement 2 of 2 is satisfied
INFO[0034] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0034] [hostagent] Forwarding "/run/user/502/docker.sock" (guest) to "/Users/fanv/.lima/docker/sock/docker.sock" (host)
INFO[0034] [hostagent] Guest agent is running
INFO[0034] [hostagent] Not forwarding TCP 127.0.0.54:53
INFO[0034] [hostagent] Not forwarding TCP 127.0.0.53:53
INFO[0034] [hostagent] Not forwarding TCP [::]:22
INFO[0074] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0115] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0155] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0195] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0236] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0276] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0316] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0357] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0397] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0438] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0479] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0519] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0560] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
INFO[0600] [hostagent] Waiting for the optional requirement 1 of 1: "user probe 1/1"
FATA[0604] did not receive an event with the "running" status

log

❯ cat ~/.lima/docker/serial*.log

Ubuntu 24.04.1 LTS lima-docker hvc0

lima-docker login: %

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions