From 12a1f5117012374c7995841631c6c30271f7313e Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Wed, 1 Feb 2017 13:18:42 +0200 Subject: [PATCH] [sonic-slave]: Fix issue "no space left on disk" while trying to add user in docker Note: related to https://github.com/docker/docker/issues/5419 Signed-off-by: Petro Karashchenko --- sonic-slave/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-slave/Dockerfile b/sonic-slave/Dockerfile index 2a06770dfed9..41c65e3465b2 100644 --- a/sonic-slave/Dockerfile +++ b/sonic-slave/Dockerfile @@ -99,7 +99,7 @@ ARG guid RUN groupadd -f -r -g $guid g$user -RUN useradd $user -u $uid -g $guid -d /var/$user -m -s /bin/bash +RUN useradd $user -l -u $uid -g $guid -d /var/$user -m -s /bin/bash RUN gpasswd -a $user docker