-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Description
Recently Risc-V architecture have been added to Docker (moby/moby) as PR #39327.
We are using Docker with Containerd and crun runtime since runc depends on CGO that's not available on this arch yet.
I found-out that running a container with -it
to get an interactive terminal doesn't provide the terminal and freezes the session. If the container is stopped, control is returned and all inputs given to the terminal is printed at once.
Another problem that might be similar is that following the logs with logs -f
also doesn't stream the data. It only prints what's already logged and freezes. If one cancel the log tail and run again, it prints all logged messages.
To reproduce, I have packed a Risc-V Qemu VM and the Docker, Crun and Containerd binaries tarball. There is a install script in the tarball and more details in the tracker repo.
Versions:
carlosedp in ~ at fedora-unleashed
➜ crun --version
crun 0.6
carlosedp in ~ at fedora-unleashed
➜ containerd --version
containerd github.com/containerd/containerd 1.2.0+unknown
➜ docker version
Client:
Version: unknown-version
API version: 1.40
Go version: devel +2bdba6c078 Fri May 24 18:40:32 2019 +0000
Git commit: unknown-commit
Built: unknown-buildtime
OS/Arch: linux/riscv64
Experimental: true
Server:
Engine:
Version: library-import
API version: 1.41 (minimum version 1.12)
Go version: devel +f980a63fcb Fri May 24 20:26:57 2019 +1000
Git commit: library-import
Built: library-import
OS/Arch: linux/riscv64
Experimental: false
containerd:
Version: 1.2.0+unknown
GitCommit:
docker-init:
Version: 0.18.0
GitCommit: 3c53686
Cc. @tonistiigi