-
-
Save x-yuri/54aec2d41224f9e55239dce1f13f251e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker --version | |
Docker version 19.03.15, build 99e3ed8919 | |
$ cat /etc/issue | |
Debian GNU/Linux 9 \n \l | |
$ dpkg -l | grep libseccomp | |
ii libseccomp2:amd64 2.3.1-2.1 amd64 high level interface to Linux seccomp filter | |
$ docker run --rm -it ubuntu:22.04 | |
root@b5cb14060ae4:/# ls -al | |
ls: cannot access 'srv': Operation not permitted | |
ls: cannot access 'sbin': Operation not permitted | |
ls: cannot access 'lib32': Operation not permitted | |
ls: cannot access 'run': Operation not permitted | |
ls: cannot access 'lib': Operation not permitted | |
ls: cannot access 'var': Operation not permitted | |
ls: cannot access 'lib64': Operation not permitted | |
ls: cannot access '..': Operation not permitted | |
ls: cannot access 'usr': Operation not permitted | |
ls: cannot access '.': Operation not permitted | |
ls: cannot access 'sys': Operation not permitted | |
ls: cannot access 'media': Operation not permitted | |
ls: cannot access 'home': Operation not permitted | |
ls: cannot access 'boot': Operation not permitted | |
ls: cannot access 'tmp': Operation not permitted | |
ls: cannot access 'mnt': Operation not permitted | |
ls: cannot access 'opt': Operation not permitted | |
ls: cannot access 'bin': Operation not permitted | |
ls: cannot access 'etc': Operation not permitted | |
ls: cannot access 'root': Operation not permitted | |
ls: cannot access 'proc': Operation not permitted | |
ls: cannot access 'libx32': Operation not permitted | |
ls: cannot access 'dev': Operation not permitted | |
ls: cannot access '.dockerenv': Operation not permitted | |
total 0 | |
d????????? ? ? ? ? ? . | |
d????????? ? ? ? ? ? .. | |
-????????? ? ? ? ? ? .dockerenv | |
l????????? ? ? ? ? ? bin | |
d????????? ? ? ? ? ? boot | |
d????????? ? ? ? ? ? dev | |
d????????? ? ? ? ? ? etc | |
d????????? ? ? ? ? ? home | |
l????????? ? ? ? ? ? lib | |
l????????? ? ? ? ? ? lib32 | |
l????????? ? ? ? ? ? lib64 | |
l????????? ? ? ? ? ? libx32 | |
d????????? ? ? ? ? ? media | |
d????????? ? ? ? ? ? mnt | |
d????????? ? ? ? ? ? opt | |
d????????? ? ? ? ? ? proc | |
d????????? ? ? ? ? ? root | |
d????????? ? ? ? ? ? run | |
l????????? ? ? ? ? ? sbin | |
d????????? ? ? ? ? ? srv | |
d????????? ? ? ? ? ? sys | |
d????????? ? ? ? ? ? tmp | |
d????????? ? ? ? ? ? usr | |
d????????? ? ? ? ? ? var | |
root@b5cb14060ae4:/# apt update | |
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [90.7 kB] | |
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] | |
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Err:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Err:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Err:4 http://security.ubuntu.com/ubuntu jammy-security InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Reading package lists... Done | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true' | |
E: Sub-process returned an error code | |
$ apt install libseccomp2 | |
$ dpkg -l | grep libseccomp | |
ii libseccomp2:amd64 2.3.1-2.1+deb9u1 amd64 high level interface to Linux seccomp filter | |
$ docker run --rm -it ubuntu:22.04 | |
root@ce59f6da5330:/# ls -al | |
total 56 | |
drwxr-xr-x 1 root root 4096 May 4 20:36 . | |
drwxr-xr-x 1 root root 4096 May 4 20:36 .. | |
-rwxr-xr-x 1 root root 0 May 4 20:36 .dockerenv | |
lrwxrwxrwx 1 root root 7 Apr 28 12:01 bin -> usr/bin | |
drwxr-xr-x 2 root root 4096 Apr 18 10:28 boot | |
drwxr-xr-x 5 root root 360 May 4 20:36 dev | |
drwxr-xr-x 1 root root 4096 May 4 20:36 etc | |
drwxr-xr-x 2 root root 4096 Apr 18 10:28 home | |
lrwxrwxrwx 1 root root 7 Apr 28 12:01 lib -> usr/lib | |
lrwxrwxrwx 1 root root 9 Apr 28 12:01 lib32 -> usr/lib32 | |
lrwxrwxrwx 1 root root 9 Apr 28 12:01 lib64 -> usr/lib64 | |
lrwxrwxrwx 1 root root 10 Apr 28 12:01 libx32 -> usr/libx32 | |
drwxr-xr-x 2 root root 4096 Apr 28 12:01 media | |
drwxr-xr-x 2 root root 4096 Apr 28 12:01 mnt | |
drwxr-xr-x 2 root root 4096 Apr 28 12:01 opt | |
dr-xr-xr-x 146 root root 0 May 4 20:36 proc | |
drwx------ 2 root root 4096 Apr 28 12:04 root | |
drwxr-xr-x 5 root root 4096 Apr 28 12:04 run | |
lrwxrwxrwx 1 root root 8 Apr 28 12:01 sbin -> usr/sbin | |
drwxr-xr-x 2 root root 4096 Apr 28 12:01 srv | |
dr-xr-xr-x 13 root root 0 May 3 05:16 sys | |
drwxrwxrwt 2 root root 4096 Apr 28 12:04 tmp | |
drwxr-xr-x 14 root root 4096 Apr 28 12:01 usr | |
drwxr-xr-x 11 root root 4096 Apr 28 12:04 var | |
root@6d3f97699b52:/# apt update | |
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] | |
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB] | |
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [90.7 kB] | |
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease | |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
Reading package lists... Done | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. | |
W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C | |
E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is not signed. | |
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true' | |
E: Sub-process returned an error code | |
root@6d3f97699b52:/# su - _apt -s /bin/bash -c 'od -c /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg | head -1' | |
su: warning: cannot change directory to /nonexistent: No such file or directory | |
0000000 231 002 \r 004 O 255 216 h 001 020 \0 273 244 242 273 362 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment