google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.64k stars 1.29k forks source link

runsc build fail: Error response from daemon: Container x is not running #6367

Closed unknowndevQwQ closed 1 month ago

unknowndevQwQ commented 3 years ago

Description

Followed the steps in the https://github.com/google/gvisor#installing-from-source instructions to compile, but got an error after outputting --- BUILD -c opt //runsc

Steps to reproduce

  1. $ git clone https://github.com/google/gvisor
  2. $ make runsc
  3. output:
    --- TAG default
    --- DOCKER BUILD
    gvisor-builder-140dede1-x86_64
    sha256:1b1c88f21d58fbebb394abeb24c3557bc48792deea765be51bdceece2f00d36f
    --- DOCKER RUN
    463f5e9c17a1feb396c10085a79d250dbd39944df8ddbd71e59fcda26cdb3704
    --- BUILD -c opt //runsc
    xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value
    xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value
    Error response from daemon: Container 463f5e9c17a1feb396c10085a79d250dbd39944df8ddbd71e59fcda26cdb3704 is not running
    make: *** [Makefile:167: runsc] Error 1

runsc version

No response

docker version (if using docker)

Client:
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.16.4
 Git commit:        f0df35096d
 Built:             Fri Jun  4 08:14:39 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.4
  Git commit:       b0f5bc36fe
  Built:            Fri Jun  4 08:14:24 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.5.2
  GitCommit:        36cc874494a56a253cd181a1a685b44b58a2e34a.m
 runc:
  Version:          1.0.1
  GitCommit:        v1.0.1-0-g4144b638
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

uname

Linux arch 5.13.4-arch1-1 #1 SMP PREEMPT Tue, 20 Jul 2021 16:58:51 +0000 x86_64 GNU/Linux

kubectl (if using Kubernetes)

No response

repo state (if built from source)

release-20210712.0-60-gd24793836

runsc debug logs (if available)

No response

github-actions[bot] commented 1 year ago

A friendly reminder that this issue had no activity for 120 days.

unknowndevQwQ commented 1 year ago

hmmm, need some time to retest

github-actions[bot] commented 8 months ago

A friendly reminder that this issue had no activity for 120 days.

EtiennePerot commented 8 months ago

Try to see if running make bazel-server before make runsc makes any difference.

unknowndevQwQ commented 8 months ago

Try to see if running make bazel-server before make runsc makes any difference.

I'll try it sometime.

github-actions[bot] commented 4 months ago

A friendly reminder that this issue had no activity for 120 days.

unknowndevQwQ commented 1 month ago

I've been busy lately.

milantracy commented 1 month ago

it looks stale to me, and I don't see a way to reproduce it, shall we. just close the issue?