Xenial as-is You can see on the +100000 UID the container is the first line: $ ps axlf | grep snmpd | grep -v grep 5 100112 4553 2723 20 0 55228 5952 - S ? 0:00 \_ /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid 5 112 3398 1 20 0 63340 7672 - S ? 0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid $ sudo systemctl restart snmpd $ ps axlf | grep snmpd | grep -v grep 5 112 4656 1 20 0 63344 7820 - S ? 0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid Containers view: Feb 21 16:06:35 x1 systemd[1]: Started LSB: SNMP agents. Feb 21 16:06:35 x1 snmpd[1208]: NET-SNMP version 5.7.3 Feb 21 16:08:03 x1 snmpd[1208]: Received TERM or STOP signal... shutting down... Upgrade to snmpd from proposed: $ sudo apt install snmpd Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libsnmp30 Suggested packages: snmptrapd The following packages will be upgraded: libsnmp30 snmpd 2 upgraded, 0 newly installed, 0 to remove and 39 not upgraded. Need to get 868 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 snmpd amd64 5.7.3+dfsg-1ubuntu4.1 [57,2 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 libsnmp30 amd64 5.7.3+dfsg-1ubuntu4.1 [811 kB] Fetched 868 kB in 0s (2.779 kB/s) Preconfiguring packages ... (Reading database ... 54148 files and directories currently installed.) Preparing to unpack .../snmpd_5.7.3+dfsg-1ubuntu4.1_amd64.deb ... Unpacking snmpd (5.7.3+dfsg-1ubuntu4.1) over (5.7.3+dfsg-1ubuntu4) ... Preparing to unpack .../libsnmp30_5.7.3+dfsg-1ubuntu4.1_amd64.deb ... Unpacking libsnmp30:amd64 (5.7.3+dfsg-1ubuntu4.1) over (5.7.3+dfsg-1ubuntu4) ... Processing triggers for systemd (229-4ubuntu21.1) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.23-0ubuntu10) ... Setting up libsnmp30:amd64 (5.7.3+dfsg-1ubuntu4.1) ... Setting up snmpd (5.7.3+dfsg-1ubuntu4.1) ... $ ps axlf | grep snmpd | grep -v grep 5 100112 5601 2723 20 0 55228 5668 - S ? 0:00 \_ /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid 5 112 5573 1 20 0 63344 7684 - S ? 0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid Host: $ sudo systemctl restart snmpd Container still: Active: active (running) since Wed 2018-02-21 16:10:39 UTC; 1min 3s ago $ ps axlf | grep snmpd | grep -v grep 5 100112 5601 2723 20 0 55228 5668 - S ? 0:00 \_ /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid 5 112 5660 1 20 0 63340 7656 - S ? 0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid The pid on host changed, the container one stayed as-is.