rkt/rkt

cat file into rkt run --interactive doesn't work

開放

#2,414 建立於 2016年4月13日

 (9 則留言) (2 個反應) (0 位負責人)Go (865 個分叉)batch import
component/stage0component/stage1help wantedkind/frictionpriority/P2

倉庫指標

星標
 (8,871 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

I'd expect

cat file | rkt run --interactive --exec=cat to cat the file.

Instead it just hangs, waiting for stdin input. i.e. stdin isn't chained from the user who runs it to the container.

So for instance, in k8s we provide a python container to run python scripts that parse yaml files (and yaml file is cat into the running container). This works fine when the python container runtime is docker, but not when the same container image is used with rkt.

貢獻者指南