micahculpepper/dockerveth

Installation steps not working for Ubuntu

xlash opened this issue · 4 comments

xlash commented

Ubuntu have a symlink for /bin/sh => dash.

The script is returning an error when executed. It works correctly if it is passed as an argument to /bin/bash.

The error is

Error: No such object: gi

---trace

  • id=gi
  • name=gi
  • make_row gi gi
  • id=gi
  • name=gi
  • get_veth gi
  • get_container_if_index gi
  • get_pid gi
  • docker inspect --format {{.State.Pid}} gi
    Error: No such object: gi

First line modified to '#!/bin/bash', that's ok!

This saves my day on debian, thanks.

2 years ago but this saves my day!

The error I got was:
Error: No such object: a