qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 0/6] tests/docker: add podman support


From: Alex Bennée
Subject: Re: [Qemu-devel] [PATCH v3 0/6] tests/docker: add podman support
Date: Thu, 05 Sep 2019 17:33:21 +0100
User-agent: mu4e 1.3.4; emacs 27.0.50

David Hildenbrand <address@hidden> writes:

> On 13.07.19 16:33, Marc-André Lureau wrote:
>> Hi,
>>
>> podman allows to run containers in a similar fashion as docker, but
>> without daemon or root privileges. Thank you podman!
>>
>> There is a weird issue with getaddrinfo(), that I reported upstream
>> https://github.com/containers/libpod/issues/3535. For now, it is
>> worked around with extra socket_check_protocol_support() checks.
>>
>> thanks
>>
>> v3:
>> - add --run-as-current-user, suggest by Paolo
>> - move podman user tweaks to docker.py
>> - rebasing
>>
>> v2:
>> - add socket_check_protocol_support() to test-char
>> - keep TAP harness happy when socket_check_protocol_support() fails
>> - removed bad AI_ADDRCONFIG patch
>> - rebased
>>
>> Marc-André Lureau (6):
>>   docker.py: add --run-as-current-user
>>   docker.py: add podman support
>>   tests/docker: add podman support
>>   tests: specify the address family when checking bind
>>   test-char: skip tcp tests if ipv4 check failed
>>   test: skip tests if socket_check_protocol_support() failed
>>
>>  Makefile                       |  2 +-
>>  tests/Makefile.include         |  2 +-
>>  tests/docker/Makefile.include  | 10 +++++--
>>  tests/docker/docker.py         | 53 ++++++++++++++++++++++++++++++----
>>  tests/socket-helpers.c         | 17 ++++++++---
>>  tests/socket-helpers.h         | 11 -------
>>  tests/test-char.c              | 19 +++++++++---
>>  tests/test-io-channel-socket.c |  4 ++-
>>  tests/test-util-sockets.c      |  4 ++-
>>  9 files changed, 91 insertions(+), 31 deletions(-)
>>
>
> Most probably not related to this series. I assume I am once again doing
> something very wrong (although this used to work). I am on Fedora 30 -
> hope somebody can help me:
>
> t460s: ~/git/qemu mvc $ docker run hello-world
>
> Hello from Docker!
> This message shows that your installation appears to be working correctly.
> [...]
>
> t460s: ~/git/qemu mvc $ tests/docker/docker.py probe
> no
>
> t460s: ~/git/qemu mvc $ ./configure --target-list=i386-softmmu,...
> [...]
> docker            no
> [...]
>
> So docker is working but the configure script says I don't have docker.
> What am I missing? (I only want to run tcg tests)

See:

  Subject: [PATCH  v1 02/42] configure: clean-up container cross compile detect
  Date: Wed,  4 Sep 2019 21:29:33 +0100
  Message-Id: <address@hidden>
  In-Reply-To: <address@hidden>

But there are other fixes in that series to make it work with check-tcg
better.

--
Alex Bennée



reply via email to

[Prev in Thread] Current Thread [Next in Thread]