Docker/コンテナ仮想環境 Calendar 2024
https://qiita.com/advent-calendar/2024/docker
Day 3 投稿予定記事です。
$ docker run -v /Users/ogawakiyoshi/llm:/tmp/llm -it continuumio/anaconda3 /bin/bash
(base) root@47032353d381:/# apt update
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8688 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [2708 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [203 kB]
Fetched 9147 kB in 3s (3471 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
36 packages can be upgraded. Run 'apt list --upgradable' to see them.
(base) root@47032353d381:/# apt -y upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
base-files bash bsdutils git git-man libapr1 libblkid1 libc-bin libc6
libcurl3-gnutls libexpat1 libglib2.0-0 libgnutls30 libgssapi-krb5-2
libk5crypto3 libkrb5-3 libkrb5support0 libmount1 libnghttp2-14
libpython3.11-minimal libpython3.11-stdlib libseccomp2 libsmartcols1
libsqlite3-0 libssl3 libsystemd0 libudev1 libuuid1 mount openssh-client
openssl python3.11 python3.11-minimal tzdata util-linux util-linux-extra
36 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.9 MB of archives.
After this operation, 705 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 base-files arm64 12.4+deb12u8 [70.9 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 bash arm64 5.2.15-2+b7 [1444 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 bsdutils arm64 1:2.38.1-5+deb12u2 [94.4 kB]
Get:4 http://deb.debian.org/debian bookworm/main arm64 libc6 arm64 2.36-9+deb12u9 [2325 kB]
Get:5 http://deb.debian.org/debian bookworm/main arm64 libsmartcols1 arm64 2.38.1-5+deb12u2 [104 kB]
Get:6 http://deb.debian.org/debian bookworm/main arm64 util-linux-extra arm64 2.38.1-5+deb12u2 [112 kB]
Get:7 http://deb.debian.org/debian bookworm/main arm64 util-linux arm64 2.38.1-5+deb12u2 [1145 kB]
Get:8 http://deb.debian.org/debian bookworm/main arm64 libc-bin arm64 2.36-9+deb12u9 [532 kB]
Get:9 http://deb.debian.org/debian bookworm/main arm64 mount arm64 2.38.1-5+deb12u2 [134 kB]
Get:10 http://deb.debian.org/debian bookworm/main arm64 libssl3 arm64 3.0.15-1~deb12u1 [1811 kB]
Get:11 http://deb.debian.org/debian bookworm/main arm64 python3.11 arm64 3.11.2-6+deb12u4 [573 kB]
Get:12 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-stdlib arm64 3.11.2-6+deb12u4 [1746 kB]
Get:13 http://deb.debian.org/debian bookworm/main arm64 python3.11-minimal arm64 3.11.2-6+deb12u4 [1860 kB]
Get:14 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-minimal arm64 3.11.2-6+deb12u4 [808 kB]
Get:15 http://deb.debian.org/debian bookworm/main arm64 libsqlite3-0 arm64 3.40.1-2+deb12u1 [785 kB]
Get:16 http://deb.debian.org/debian bookworm/main arm64 libuuid1 arm64 2.38.1-5+deb12u2 [28.4 kB]
Get:17 http://deb.debian.org/debian bookworm/main arm64 libexpat1 arm64 2.5.0-1+deb12u1 [84.6 kB]
Get:18 http://deb.debian.org/debian bookworm/main arm64 libblkid1 arm64 2.38.1-5+deb12u2 [143 kB]
Get:19 http://deb.debian.org/debian bookworm/main arm64 libgnutls30 arm64 3.7.9-2+deb12u3 [1313 kB]
Get:20 http://deb.debian.org/debian bookworm/main arm64 libmount1 arm64 2.38.1-5+deb12u2 [159 kB]
Get:21 http://deb.debian.org/debian bookworm/main arm64 libseccomp2 arm64 2.5.4-1+deb12u1 [45.5 kB]
Get:22 http://deb.debian.org/debian bookworm/main arm64 libsystemd0 arm64 252.31-1~deb12u1 [308 kB]
Get:23 http://deb.debian.org/debian bookworm/main arm64 libudev1 arm64 252.31-1~deb12u1 [103 kB]
Get:24 http://deb.debian.org/debian bookworm-updates/main arm64 tzdata all 2024b-0+deb12u1 [298 kB]
Get:25 http://deb.debian.org/debian bookworm/main arm64 libgssapi-krb5-2 arm64 1.20.1-2+deb12u2 [124 kB]
Get:26 http://deb.debian.org/debian bookworm/main arm64 libkrb5-3 arm64 1.20.1-2+deb12u2 [313 kB]
Get:27 http://deb.debian.org/debian bookworm/main arm64 libkrb5support0 arm64 1.20.1-2+deb12u2 [31.8 kB]
Get:28 http://deb.debian.org/debian bookworm/main arm64 libk5crypto3 arm64 1.20.1-2+deb12u2 [79.4 kB]
Get:29 http://deb.debian.org/debian bookworm/main arm64 libnghttp2-14 arm64 1.52.0-1+deb12u2 [68.6 kB]
Get:30 http://deb.debian.org/debian bookworm/main arm64 libcurl3-gnutls arm64 7.88.1-10+deb12u8 [360 kB]
Get:31 http://deb.debian.org/debian bookworm/main arm64 git arm64 1:2.39.5-0+deb12u1 [7137 kB]
Get:32 http://deb.debian.org/debian bookworm/main arm64 git-man all 1:2.39.5-0+deb12u1 [2054 kB]
Get:33 http://deb.debian.org/debian bookworm/main arm64 openssh-client arm64 1:9.2p1-2+deb12u3 [937 kB]
Get:34 http://deb.debian.org/debian bookworm/main arm64 libapr1 arm64 1.7.2-3+deb12u1 [94.1 kB]
Get:35 http://deb.debian.org/debian bookworm/main arm64 libglib2.0-0 arm64 2.74.6-2+deb12u4 [1313 kB]
Get:36 http://deb.debian.org/debian bookworm/main arm64 openssl arm64 3.0.15-1~deb12u1 [1392 kB]
Fetched 29.9 MB in 3s (9221 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../base-files_12.4+deb12u8_arm64.deb ...
Unpacking base-files (12.4+deb12u8) over (12.4+deb12u5) ...
Setting up base-files (12.4+deb12u8) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../bash_5.2.15-2+b7_arm64.deb ...
update-alternatives: warning: alternative /usr/share/man/man7/bash-builtins.7.gz (part of link group builtins.7.gz) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/builtins.7.gz is dangling; it will be updated with best choice
Unpacking bash (5.2.15-2+b7) over (5.2.15-2+b2) ...
Setting up bash (5.2.15-2+b7) ...
update-alternatives: error: alternative path /usr/share/man/man7/bash-builtins.7.gz doesn't exist
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.38.1-5+deb12u2_arm64.deb ...
Unpacking bsdutils (1:2.38.1-5+deb12u2) over (1:2.38.1-5+deb12u1) ...
Setting up bsdutils (1:2.38.1-5+deb12u2) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../libc6_2.36-9+deb12u9_arm64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Unpacking libc6:arm64 (2.36-9+deb12u9) over (2.36-9+deb12u7) ...
Setting up libc6:arm64 (2.36-9+deb12u9) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.38.1-5+deb12u2_arm64.deb ...
Unpacking libsmartcols1:arm64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up libsmartcols1:arm64 (2.38.1-5+deb12u2) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../util-linux-extra_2.38.1-5+deb12u2_arm64.deb ...
Unpacking util-linux-extra (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up util-linux-extra (2.38.1-5+deb12u2) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../util-linux_2.38.1-5+deb12u2_arm64.deb ...
Unpacking util-linux (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up util-linux (2.38.1-5+deb12u2) ...
update-alternatives: warning: forcing reinstallation of alternative /bin/more because link group pager is broken
update-alternatives: warning: skip creation of /usr/share/man/man1/pager.1.gz because associated file /usr/share/man/man1/more.1.gz (of link group pager) doesn't exist
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.36-9+deb12u9_arm64.deb ...
Unpacking libc-bin (2.36-9+deb12u9) over (2.36-9+deb12u7) ...
Setting up libc-bin (2.36-9+deb12u9) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../0-mount_2.38.1-5+deb12u2_arm64.deb ...
Unpacking mount (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Preparing to unpack .../1-libssl3_3.0.15-1~deb12u1_arm64.deb ...
Unpacking libssl3:arm64 (3.0.15-1~deb12u1) over (3.0.11-1~deb12u2) ...
Preparing to unpack .../2-python3.11_3.11.2-6+deb12u4_arm64.deb ...
Unpacking python3.11 (3.11.2-6+deb12u4) over (3.11.2-6) ...
Preparing to unpack .../3-libpython3.11-stdlib_3.11.2-6+deb12u4_arm64.deb ...
Unpacking libpython3.11-stdlib:arm64 (3.11.2-6+deb12u4) over (3.11.2-6) ...
Preparing to unpack .../4-python3.11-minimal_3.11.2-6+deb12u4_arm64.deb ...
Unpacking python3.11-minimal (3.11.2-6+deb12u4) over (3.11.2-6) ...
Preparing to unpack .../5-libpython3.11-minimal_3.11.2-6+deb12u4_arm64.deb ...
Unpacking libpython3.11-minimal:arm64 (3.11.2-6+deb12u4) over (3.11.2-6) ...
Preparing to unpack .../6-libsqlite3-0_3.40.1-2+deb12u1_arm64.deb ...
Unpacking libsqlite3-0:arm64 (3.40.1-2+deb12u1) over (3.40.1-2) ...
Preparing to unpack .../7-libuuid1_2.38.1-5+deb12u2_arm64.deb ...
Unpacking libuuid1:arm64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up libuuid1:arm64 (2.38.1-5+deb12u2) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../libexpat1_2.5.0-1+deb12u1_arm64.deb ...
Unpacking libexpat1:arm64 (2.5.0-1+deb12u1) over (2.5.0-1) ...
Preparing to unpack .../libblkid1_2.38.1-5+deb12u2_arm64.deb ...
Unpacking libblkid1:arm64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up libblkid1:arm64 (2.38.1-5+deb12u2) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../libgnutls30_3.7.9-2+deb12u3_arm64.deb ...
Unpacking libgnutls30:arm64 (3.7.9-2+deb12u3) over (3.7.9-2+deb12u2) ...
Setting up libgnutls30:arm64 (3.7.9-2+deb12u3) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../libmount1_2.38.1-5+deb12u2_arm64.deb ...
Unpacking libmount1:arm64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up libmount1:arm64 (2.38.1-5+deb12u2) ...
(Reading database ... 12367 files and directories currently installed.)
Preparing to unpack .../libseccomp2_2.5.4-1+deb12u1_arm64.deb ...
Unpacking libseccomp2:arm64 (2.5.4-1+deb12u1) over (2.5.4-1+b3) ...
Setting up libseccomp2:arm64 (2.5.4-1+deb12u1) ...
(Reading database ... 12366 files and directories currently installed.)
Preparing to unpack .../libsystemd0_252.31-1~deb12u1_arm64.deb ...
Unpacking libsystemd0:arm64 (252.31-1~deb12u1) over (252.22-1~deb12u1) ...
Setting up libsystemd0:arm64 (252.31-1~deb12u1) ...
(Reading database ... 12366 files and directories currently installed.)
Preparing to unpack .../libudev1_252.31-1~deb12u1_arm64.deb ...
Unpacking libudev1:arm64 (252.31-1~deb12u1) over (252.22-1~deb12u1) ...
Setting up libudev1:arm64 (252.31-1~deb12u1) ...
(Reading database ... 12366 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2024b-0+deb12u1_all.deb ...
Unpacking tzdata (2024b-0+deb12u1) over (2024a-0+deb12u1) ...
Preparing to unpack .../01-libgssapi-krb5-2_1.20.1-2+deb12u2_arm64.deb ...
Unpacking libgssapi-krb5-2:arm64 (1.20.1-2+deb12u2) over (1.20.1-2+deb12u1) ...
Preparing to unpack .../02-libkrb5-3_1.20.1-2+deb12u2_arm64.deb ...
Unpacking libkrb5-3:arm64 (1.20.1-2+deb12u2) over (1.20.1-2+deb12u1) ...
Preparing to unpack .../03-libkrb5support0_1.20.1-2+deb12u2_arm64.deb ...
Unpacking libkrb5support0:arm64 (1.20.1-2+deb12u2) over (1.20.1-2+deb12u1) ...
Preparing to unpack .../04-libk5crypto3_1.20.1-2+deb12u2_arm64.deb ...
Unpacking libk5crypto3:arm64 (1.20.1-2+deb12u2) over (1.20.1-2+deb12u1) ...
Preparing to unpack .../05-libnghttp2-14_1.52.0-1+deb12u2_arm64.deb ...
Unpacking libnghttp2-14:arm64 (1.52.0-1+deb12u2) over (1.52.0-1+deb12u1) ...
Preparing to unpack .../06-libcurl3-gnutls_7.88.1-10+deb12u8_arm64.deb ...
Unpacking libcurl3-gnutls:arm64 (7.88.1-10+deb12u8) over (7.88.1-10+deb12u5) ...
Preparing to unpack .../07-git_1%3a2.39.5-0+deb12u1_arm64.deb ...
Unpacking git (1:2.39.5-0+deb12u1) over (1:2.39.2-1.1) ...
Preparing to unpack .../08-git-man_1%3a2.39.5-0+deb12u1_all.deb ...
Unpacking git-man (1:2.39.5-0+deb12u1) over (1:2.39.2-1.1) ...
Preparing to unpack .../09-openssh-client_1%3a9.2p1-2+deb12u3_arm64.deb ...
Unpacking openssh-client (1:9.2p1-2+deb12u3) over (1:9.2p1-2+deb12u2) ...
Preparing to unpack .../10-libapr1_1.7.2-3+deb12u1_arm64.deb ...
Unpacking libapr1:arm64 (1.7.2-3+deb12u1) over (1.7.2-3) ...
Preparing to unpack .../11-libglib2.0-0_2.74.6-2+deb12u4_arm64.deb ...
Unpacking libglib2.0-0:arm64 (2.74.6-2+deb12u4) over (2.74.6-2+deb12u2) ...
Preparing to unpack .../12-openssl_3.0.15-1~deb12u1_arm64.deb ...
Unpacking openssl (3.0.15-1~deb12u1) over (3.0.11-1~deb12u2) ...
Setting up libexpat1:arm64 (2.5.0-1+deb12u1) ...
Setting up libglib2.0-0:arm64 (2.74.6-2+deb12u4) ...
No schema files found: doing nothing.
Setting up libsqlite3-0:arm64 (3.40.1-2+deb12u1) ...
Setting up libssl3:arm64 (3.0.15-1~deb12u1) ...
Setting up libnghttp2-14:arm64 (1.52.0-1+deb12u2) ...
Setting up libapr1:arm64 (1.7.2-3+deb12u1) ...
Setting up libkrb5support0:arm64 (1.20.1-2+deb12u2) ...
Setting up tzdata (2024b-0+deb12u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Current default time zone: 'Etc/UTC'
Local time is now: Fri Nov 29 03:16:30 UTC 2024.
Universal Time is now: Fri Nov 29 03:16:30 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up libk5crypto3:arm64 (1.20.1-2+deb12u2) ...
Setting up mount (2.38.1-5+deb12u2) ...
Setting up git-man (1:2.39.5-0+deb12u1) ...
Setting up libkrb5-3:arm64 (1.20.1-2+deb12u2) ...
Setting up libpython3.11-minimal:arm64 (3.11.2-6+deb12u4) ...
Setting up openssl (3.0.15-1~deb12u1) ...
Setting up python3.11-minimal (3.11.2-6+deb12u4) ...
Setting up libpython3.11-stdlib:arm64 (3.11.2-6+deb12u4) ...
Setting up libgssapi-krb5-2:arm64 (1.20.1-2+deb12u2) ...
Setting up python3.11 (3.11.2-6+deb12u4) ...
Setting up openssh-client (1:9.2p1-2+deb12u3) ...
Setting up libcurl3-gnutls:arm64 (7.88.1-10+deb12u8) ...
Setting up git (1:2.39.5-0+deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
Processing triggers for debianutils (5.7-0.5~deb12u1) ...