title: suid is not honoured inside docker container
body: <p>I downloaded sudo in my DockerFile</p>
  <p>RUN yum -y update &amp;&amp; <br />
  yum -y install which sudo</p>
  <p>I have set suid bit on it</p>
  <p>RUN chown root:root /usr/bin/sudo
  RUN chmod 4755 /usr/bin/sudo</p>
  <p>In container I see lot of binaries with suid bit set</p>
  <p>root@89f28b09dee0 go]# ls -la /usr/bin/* | grep rwsr</p>
  <p>-rwsr-xr-x 1 root root      73888 Aug  9  2019 /usr/bin/chage</p>
  <p>-rwsr-xr-x 1 root root      78408 Aug  9  2019 /usr/bin/gpasswd</p>
  <p>-rwsr-xr-x 1 root root      44264 Aug  9  2019 /usr/bin/mount</p>
  <p>-rwsr-xr-x 1 root root      41936 Aug  9  2019 /usr/bin/newgrp</p>
  <p>-rwsr-xr-x 1 root root      27856 Aug  9  2019 /usr/bin/passwd</p>
  <p>-rwsr-xr-x 1 root root      32128 Aug  9  2019 /usr/bin/su</p>
  <p>-rwsr-xr-x 1 root root     147320 Aug  9  2019 /usr/bin/sudo</p>
  <p>-rwsr-xr-x 1 root root      31984 Aug  9  2019 /usr/bin/umount</p>
  <p>Other binaries which are part of base image works seelessly</p>
  <p>[test@89f28b09dee0 go]$ passwd
  Changing password for user test.
  Changing password for test.
  (current) UNIX password:</p>
  <p>But sudo fails</p>
  <p>sudo
  sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
  [test@89f28b09dee0 go]$</p>
  <p>Most of search on internet says it may be because of filesystem permission but other binaries are working fine from same location with suid bit set.</p>