and from the command line I typed: (duckieking is my robot’s hostname)
$dts devel build -f –arch arm32v7 -H duckieking.local
and this are the error messages:
OCI runtime create failed: container_linux.go:348: starting container process caused “exec: “/bin/sh”: stat /bin/sh: no such file or directory”: unknown
ERROR:dts:The command [‘docker’, ‘-H=duckieking.local’, ‘build’, ‘–pull=0’, ‘–no-cache=0’, ‘-t’, ‘duckietown/newfile:v1-arm32v7’, ‘–label’, ‘org.duckietown.label.code.vcs=git’, ‘–label’, ‘org.duckietown.label.code.repository=newfile’, ‘–label’, ‘org.duckietown.label.code.branch=v1’, ‘–label’, ‘org.duckietown.label.code.url=https://github.com/”my-repo-name”/newfile’, ‘–label’, ‘org.duckietown.label.template.name=template-ros’, ‘–label’, ‘org.duckietown.label.template.version=1’, ‘–build-arg’, ‘ARCH=arm32v7’, ‘/home/user/newfile’] returned exit code 1
dts : Traceback (most recent call last):
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/main.py”, line 38, in cli_main
: climain()
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/main.py”, line 175, in climain
: shell.onecmd(cmdline)
: File “/usr/lib/python3.6/cmd.py”, line 217, in onecmd
: return func(arg)
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/cli.py”, line 287, in
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/dt_command_abs.py”, line 42, in do_command
: cls.commands[word], shell, ” “.join(parts[1:])
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/dt_command_abs.py”, line 50, in do_command
: cls.command(shell, args)
: File “/home/user/.dt-shell/commands-multi/daffy/devel/build/command.py”, line 261, in command
: ], True, True)
: File “/home/user/.dt-shell/commands-multi/daffy/devel/build/command.py”, line 342, in _run_cmd
: raise RuntimeError(msg)
: RuntimeError: The command [‘docker’, ‘-H=duckieking.local’, ‘build’, ‘–pull=0’, ‘–no-cache=0’, ‘-t’, ‘duckietown/newfile:v1-arm32v7’, ‘–label’, ‘org.duckietown.label.code.vcs=git’, ‘–label’, ‘org.duckietown.label.code.repository=newfile’, ‘–label’, ‘org.duckietown.label.code.branch=v1’, ‘–label’, ‘org.duckietown.label.code.url=https://github.com/”my-repo”/newfile’, ‘–label’, ‘org.duckietown.label.template.name=template-ros’, ‘–label’, ‘org.duckietown.label.template.version=1’, ‘–build-arg’, ‘ARCH=arm32v7’, ‘/home/user/newfile’] returned exit code 1
dts : If you think this is a bug, please report that you are using:
:
: duckietown-challenges: 5.1.4
: duckietown-shell-commands: 5.0.2
: python: “3.6.8 (default, Oct 7 2019, 12:59:55) n[GCC 8.3.0]”
: duckietown-shell: 5.1.4
: commands-version: daffy
: encodings:
: stdout: UTF-8
: stderr: UTF-8
: locale: UTF-8
I tried deleting previous images and restart docker. Also tried docker system prune.
I’m still kindda knew to docker and ros, I appreciate any help or hints..
add: “dts devel build -f –arch amd64” worked without any problem..
hi, I’m following the tutorial in duckietown site and trying to build ros docker image on robot. https://docs.duckietown.org/daffy/duckietown-robotics-development/out/dt_infrastructure.html this is the link to the page that I’m trying.
and from the command line I typed: (duckieking is my robot’s hostname)
$dts devel build -f –arch arm32v7 -H duckieking.local
and this are the error messages:
OCI runtime create failed: container_linux.go:348: starting container process caused “exec: “/bin/sh”: stat /bin/sh: no such file or directory”: unknown ERROR:dts:The command [‘docker’, ‘-H=duckieking.local’, ‘build’, ‘–pull=0’, ‘–no-cache=0’, ‘-t’, ‘duckietown/newfile:v1-arm32v7’, ‘–label’, ‘org.duckietown.label.code.vcs=git’, ‘–label’, ‘org.duckietown.label.code.repository=newfile’, ‘–label’, ‘org.duckietown.label.code.branch=v1’, ‘–label’, ‘org.duckietown.label.code.url=https://github.com/”my-repo-name”/newfile’, ‘–label’, ‘org.duckietown.label.template.name=template-ros’, ‘–label’, ‘org.duckietown.label.template.version=1’, ‘–build-arg’, ‘ARCH=arm32v7’, ‘/home/user/newfile’] returned exit code 1
dts : Traceback (most recent call last): : File “/home/user/.local/lib/python3.6/site-packages/dt_shell/main.py”, line 38, in cli_main : climain() : File “/home/user/.local/lib/python3.6/site-packages/dt_shell/main.py”, line 175, in climain : shell.onecmd(cmdline) : File “/usr/lib/python3.6/cmd.py”, line 217, in onecmd : return func(arg) : File “/home/user/.local/lib/python3.6/site-packages/dt_shell/cli.py”, line 287, in
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/dt_command_abs.py”, line 42, in do_command
: cls.commands[word], shell, ” “.join(parts[1:])
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/dt_command_abs.py”, line 50, in do_command
: cls.command(shell, args)
: File “/home/user/.dt-shell/commands-multi/daffy/devel/build/command.py”, line 261, in command
: ], True, True)
: File “/home/user/.dt-shell/commands-multi/daffy/devel/build/command.py”, line 342, in _run_cmd
: raise RuntimeError(msg)
: RuntimeError: The command [‘docker’, ‘-H=duckieking.local’, ‘build’, ‘–pull=0’, ‘–no-cache=0’, ‘-t’, ‘duckietown/newfile:v1-arm32v7’, ‘–label’, ‘org.duckietown.label.code.vcs=git’, ‘–label’, ‘org.duckietown.label.code.repository=newfile’, ‘–label’, ‘org.duckietown.label.code.branch=v1’, ‘–label’, ‘org.duckietown.label.code.url=https://github.com/”my-repo”/newfile’, ‘–label’, ‘org.duckietown.label.template.name=template-ros’, ‘–label’, ‘org.duckietown.label.template.version=1’, ‘–build-arg’, ‘ARCH=arm32v7’, ‘/home/user/newfile’] returned exit code 1
dts : If you think this is a bug, please report that you are using:
:
: duckietown-challenges: 5.1.4
: duckietown-shell-commands: 5.0.2
: python: “3.6.8 (default, Oct 7 2019, 12:59:55) n[GCC 8.3.0]”
: duckietown-shell: 5.1.4
: commands-version: daffy
: encodings:
: stdout: UTF-8
: stderr: UTF-8
: locale: UTF-8
I tried deleting previous images and restart docker. Also tried docker system prune. I’m still kindda knew to docker and ros, I appreciate any help or hints.. add: “dts devel build -f –arch amd64” worked without any problem..