You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
livecd-rootfs/live-build/ubuntu-core/hooks/12-add-docker-user.chroot

17 lines
277 B

#!/bin/sh -x
# FIXME: add click hook for user creation
USER=docker
echo "I: creating docker user"
addgroup --system --quiet $USER
adduser --system \
--ingroup $USER \
--disabled-login \
--shell /bin/false \
--no-create-home \
$USER