Hi,

I can indeed reproduce the issue. Note that this doesn't happen with the
`debian` image, only with the image `tianon/true`.

$ sudo docker run --rm -it debian echo ok
ok

Do you know what's special with the `tianon/true` image? On what OS/release
is it based?

Additionally, did you try with the docker package provided by docker.com?
See https://docs.docker.com/engine/install/debian/ . If you hit the same
problem, then you should report the issue upstream. If you don't, then
maybe there's something to investigate in the way we build the package for
Debian.

Cheers,

  Arnaud





On Fri, Sep 18, 2020 at 11:03 PM <ano...@users.sourceforge.net> wrote:

> Here's a simpler test case:
>
>   $ sudo dpkg -i docker.io_19.03.12+dfsg1-4_amd64.deb
>   (Reading database ... 257350 files and directories currently installed.)
>   Preparing to unpack docker.io_19.03.12+dfsg1-4_amd64.deb ...
>   Unpacking docker.io (19.03.12+dfsg1-4) over (19.03.12+dfsg1-3) ...
>   Setting up docker.io (19.03.12+dfsg1-4) ...
>   insserv: Script sysstat has overlapping Default-Start and Default-Stop
> runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.
>   Processing triggers for systemd (246.5-1) ...
>   Processing triggers for man-db (2.9.3-2) ...
>   $ sudo systemctl restart docker
>   $ sudo docker run tianon/true && echo "ok"
>   docker: Error response from daemon: unable to find user 0: invalid
> argument.
>   ERRO[0000] error waiting for container: context canceled
>
> versus
>
>   $ sudo dpkg -i docker.io_19.03.12+dfsg1-3_amd64.deb
>   dpkg: warning: downgrading docker.io from 19.03.12+dfsg1-4 to
> 19.03.12+dfsg1-3
>   (Reading database ... 257350 files and directories currently installed.)
>   Preparing to unpack docker.io_19.03.12+dfsg1-3_amd64.deb ...
>   Unpacking docker.io (19.03.12+dfsg1-3) over (19.03.12+dfsg1-4) ...
>   Setting up docker.io (19.03.12+dfsg1-3) ...
>   insserv: Script sysstat has overlapping Default-Start and Default-Stop
> runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.
>   Processing triggers for systemd (246.5-1) ...
>   Processing triggers for man-db (2.9.3-2) ...
>   $ sudo systemctl restart docker
>   $ sudo docker run tianon/true && echo "ok"
>   ok
>

Reply via email to