Samba Domain Controller Provisioning in Docker warning about not supporting xattr or not being root

I am trying to provision my Samba domain controller active directory in Docker container.

While provisioning, I get this warning:

  • docker + apt-add-repository: 'ascii' codec can't decode byte
  • Dockerization of node js application
  • Emscripten “incoming” installation unusually big
  • How to play a docker run --rm with docker-java?
  • sharing code between microservices
  • error: unexpected end of file (expecting “do”) for shell script in Dockerfile
  • You are not root or your system do not support xattr, using tdb backend for attributes.

    not using extended attributes to store ACLs and other metadata. If you intend to use this provision in production, rerun the script as root on a system supporting xattrs.

    When I run my Docker container with --privileged parameter, then I do NOT get the warning anymore.

    • I cannot understand exactly what does that mean and how can that be bad for my production environment, could some one explain that for me please?

    • Where is my domain container data be saved? (because I want to create a container volume to make my data persistence) but I am sure if that warning will change the way or the place where my data are being saved?

    • can I solve that problem without using –privileged?

    • In case I should use –privileged to solve that, should I pay special attantion on something (security or saving my data in the containener)?

  • Securing local docker private registry
  • call a docker container from another container
  • Understanding docker port mappings
  • Address docker container by name when net=“host”
  • Windows authentication of an application hosted in Windows Container
  • Powershell devbox Magento installation using Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.