Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
You are not logged in.
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
Pages: 1
I wanted to update my pm3 with latest iceman fork. I have followed steps related to docker package but it simple doesn't work for me.
Am I doing something wrong or the package is broken?
$ docker pull iceman1001/proxmark3:1.7.0
1.7.0: Pulling from iceman1001/proxmark3
Digest: sha256:03d53073c1a9d417a1daa4068de8246809f1f28952e8da84ca988068870211bf
Status: Image is up to date for iceman1001/proxmark3:1.7.0
$ docker run -it iceman1001/proxmark3:1.7.0
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: oci runtime error: container_linux.go:247: start
ing container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory".
Last edited by carpi (2017-03-14 22:01:49)
Offline
Usually I run it with privs and the device.
ref: https://hub.docker.com/r/iceman1001/proxmark3/
docker run -it --device="/dev/ttyACM0" --privileged iceman1001/proxmark3:1.7.0
Offline
It doesn't matter in this case. I've got the same error message. It looks like /bin/bash is missing.
Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory".
Offline
strange, I just tried it. works as expected. Have you tried removing the image and run it again? Maybe you got a bad downloaded image?
Without ways of reproducing your problem, there is very little I can help with.
Offline
I think I've found it. Because I have W7 64 I have to use Docker Toolbar (legacy) which base image is build on top of busybox and bash is not included. You probably use latest Docker. Will be possible to change initial CMD to /bin/sh instead bash?
Offline
nop, that would require a new image and I've no intention to change to /sh .
I wonder if you can add a runtime command at commandprompt, to execute a "/sh" for you
Offline
it doesn't work it's really strange, other containers pull from hub, they work fine.
docker run -it iceman1001/proxmark3:1.7.0 sh
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"sh\": executable file not found in $PATH".
docker run -it iceman1001/proxmark3:1.7.0 /bin/sh
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: oci runtime error: container_linux.go:247: start
ing container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory".
Offline
When I run this, I get a /bin/sh... without it, I get the bash-shell.
docker run -it --device="/dev/ttyACM0" --privileged -v $HOME/Downloads:/opt/proxmark3/Data iceman1001/proxmark3:1.7.0 /bin/sh
Offline
what docker version do you have? Here is mine.
$ docker version
time="2017-03-15T10:18:29+01:00" level=inf
not available on Windows"
Client:
Version: 17.03.0-ce
API version: 1.26
Go version: go1.7.5
Git commit: 60ccb22
Built: Thu Mar 2 01:11:00 2017
OS/Arch: windows/amd64
Server:
Version: 17.03.0-ce
API version: 1.26 (minimum version 1.12)
Go version: go1.7.5
Git commit: 3a232c8
Built: Tue Feb 28 07:52:04 2017
OS/Arch: linux/amd64
Experimental: false
Offline
I seem to have an older version than yours.
$ docker version
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Tue Apr 26 23:44:17 2016
OS/Arch: windows/amd64
Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:20 2016
OS/Arch: linux/amd64
Offline
While google your error, tells a story of problems with docker. I can't help you there.
Offline
I did an upgrade,
Oracle VM virtualbox 5.1.16 (w extension pack)
-> docker-machine upgrade default
-> docker version
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Tue Apr 26 23:44:17 2016
OS/Arch: windows/amd64
Server:
Version: 17.03.0-ce
API version: 1.26
Go version: go1.7.5
Git commit: 3a232c8
Built: Tue Feb 28 07:52:04 2017
OS/Arch: linux/amd64
Offline
Sure mate, no worries. I will try with your build version and will see. Thanks for your time.
Offline
And yes, I run the "docker-legacy", you seem to have the latest docker for windows. I haven't tried it.
Just for fun, if you can run this one? And then try iceman fork?
docker run -it ubuntu bash
Offline
IT WORKS how did you figure it out? so now, probably I ready to open another topic about upgrade just kidding.
One again, thank you so much.
EDIT: and of course, as I expected, flashing hung.
my hardware
Proxmark3 RFID instrument
bootrom: master/v2.3 2016-09-19 20:28:38
os: master/v2.3 2016-09-19 20:28:38
LF FPGA image built for 2s30vq100 on 2015/03/06 at 07:38:04
HF FPGA image built for 2s30vq100 on 2015/11/ 2 at 9: 8: 8
uC: AT91SAM7S512 Rev B
Embedded Processor: ARM7TDMI
Nonvolatile Program Memory Size: 512K bytes. Used: 183707 bytes (35%). Free: 340581 bytes (65%).
Second Nonvolatile Program Memory Size: None
Internal SRAM Size: 64K bytes
Architecture Identifier: AT91SAM7Sxx Series
Nonvolatile Program Memory Type: Embedded Flash Memory
When I executed flasher for bootrom update, it just hung in 2nd run. Of course, both leds (red, yellow) are on. I found similar case and the resolution was to comment out two lines in Makefile.common. It's already applied.
root@c63dd1e29cbf:~# ./client/flasher /dev/ttyACM0 -b ./bootrom/obj/bootrom.elf
Loading ELF file './bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x00000bf0->0x00000bf0) [RWX] @0x298
Waiting for Proxmark to appear on /dev/ttyACM0. Found.
Entering bootloader...
(Press and release the button only to abort)
Waiting for Proxmark to reappear on /dev/ttyACM0.^C
root@c63dd1e29cbf:~# mknod /dev/ttyACM0 c 166 0
root@c63dd1e29cbf:~# ./client/flasher /dev/ttyACM0 -b ./bootrom/obj/bootrom.elf
Loading ELF file './bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x00000bf0->0x00000bf0) [RWX] @0x298
Waiting for Proxmark to appear on /dev/ttyACM0. Found.
^C
Last edited by carpi (2017-03-15 17:45:53)
Offline
iceman, can you help me with that? I have push button before connection to PC and keep it all the time during flashing. No success, sometimes got error about NACK when expect ACK.
Offline
Depends, you don't have to update bootrom. Just try flashing fullimage.
Offline
Pages: 1