google / novm

Experimental KVM-based VMM for containers, written in Go.
Apache License 2.0
1.68k stars 123 forks source link

Unable to run command #42

Open influx6 opened 7 years ago

influx6 commented 7 years ago

I attempted to create and execute a command with a created container but neither works but fails.

System

Linux darkvoid 4.10.8-1-ARCH #1 SMP PREEMPT Fri Mar 31 16:50:19 CEST 2017 x86_64 GNU/Linux

Error

~/L/r/g/s/g/g/novm (master) [n] ⋊> python2 novm --debug create --nofork --com1
/bin/python2: can't find '__main__' module in 'novm'

~/L/r/g/s/g/g/novm (master) [n] ⋊> python2 scripts/novm --debug create --nofork --com1
2017/05/15 23:44:34 Missing capability: Clock

~/L/r/g/s/g/g/novm (master) [n] ⋊> python2 scripts/novm --debug create 
11469

~/L/r/g/s/g/g/novm (master) [n] ⋊> python2 scripts/novm --debug list
python2 scripts/novm --debug run --id 11469 bin/ls
Traceback (most recent call last):
  File "./novm/cli.py", line 203, in main
    result = fn(*built_args)
  File "./novm/shell.py", line 186, in run
    command=command)
  File "./novm/manager.py", line 404, in run_noguest
    ctrl = control.Control(ctrl_path, bind=False)
  File "./novm/control.py", line 57, in __init__
    self._sock.connect(path)
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 2] No such file or directory