[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220630170245.56423-1-kuniyu@amazon.com>
Date: Thu, 30 Jun 2022 10:02:45 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <cdleonard@...il.com>
CC: <davem@...emloft.net>, <kuniyu@...zon.com>,
<netdev@...r.kernel.org>, <sachinp@...ux.ibm.com>
Subject: [BUG] docker socket mounting fails in net-next
From: Leonard Crestez <cdleonard@...il.com>
Date: Thu, 30 Jun 2022 14:20:44 +0300
> Hello,
>
> In recent net-next it is no longer possible to mount the docker socket
> inside a container. Test case is very simple:
>
> docker run -v/var/run/docker.sock:/var/run/docker.sock docker docker ps
>
> Giving containers full access to the docker daemon this way is common
> for CI systems where all code is trusted.
>
> I bisected this problem to commit cf2f225e2653 ("af_unix: Put a socket
> into a per-netns hash table."). Another issue was reported in this area:
>
> https://lore.kernel.org/netdev/20220629174729.6744-1-kuniyu@amazon.com/T/
>
> My test scenario is extremely simple, it should easily reproduce on any
> generic distro running docker.
Thank you for report and repro!
I can reproduce it for now. I will send a followup patch.
Best regards,
Kuniyuki
>
> --
> Regards,
> Leonard
Powered by blists - more mailing lists