Hyperctl load command does not get respond
Chen8132 opened this issue · 15 comments
Hyperctl load command works good without -r option while adding "-r aaa" makes it fail.
@Chen8132 thanks for reporting, will check it.
It would be appreciated if you could paste related logs which located in /var/log/hyper/
by default.
I think no log is about this issue. Just stop there when I execute hyperctl load -i /tmp/a.tar -r aaa
. I actually do not know what is the use of -n option and -r option and want to figure it out.
OK, will take a look. Thank you
@Chen8132 I checked the code of these two flags, and both designed for OCI Image format
Name string `short:"n" long:"name" value-name:"\"\"" description:"Name to use when loading OCI image layout tar archive"`
Refs []string `short:"r" long:"references" value-name:"\"\"" description:"References to use when loading an OCI image layout tar archive"`
I don't think it could work proper with docker images
My tar file is from docker save
. Maybe it causes the problem?
These two options are not for the images saved by docker
I find hyperctl exec and attach command do not get respond too.
Did you try using the -t
option?
I don't think attach command has -t option.
exec also doesn't work with -t option
try hit the enter key after attach, if your container is launched with -t
. Sometimes it simply no output after you attached. And could you got output if you exec a bash -c 'echo "hello, world"'
if you have bash in the container.
Both attach and exec still do not work after I try what you said. I don't think they will make it in my server. My system is centOS 7.
Specific image or no output with any images? And could you get the output with hyperctl logs
?
I have tried ubuntu image and centos image. Nothing in logs.
just show leveldb: not found
when it starts