Closed thekvs closed 5 years ago
What version of docker are you running? It's possible that there has been an api change such that integers are now delivered as numeric values rather than strings. I'll take a look.
The latest stable docker-ce.
$ docker --version
Docker version 17.06.1-ce, build 874a737
This issue still persists on armhf
Docker version 17.05.0-ce, build 89658be
How can the version of docker affect that? The error is clear that the variable at the needed line is not a string
anymore. Looking from where from it is got we don't have anything related to the docker, or to the kernel or anything else, but to objdump
utility. So the problem can be only in its output or the python
itself. I'd ask for a coreutils version and python version.
If we look at the problem, we will see that the python version is 3.6
and the code chunk which gives the error contains the subprocess.check_output
which has changed since 3.6
version:
- Changed in version 3.6: Added encoding and errors parameters
This can be fixed by using encoding
parameter correctly.
I've got this error while trying to run example from README:
Used version (installed via pip):