从如下网页下载镜像文件
https://dl-cdn.openeuler.openatom.cn/openEuler-24.03-LTS-SP1/docker_img/x86_64/
直接load 压缩文件无效
docker load -i openEuler-docker.x86_64.tar.xz
root@DESKTOP-59T6U68:/mnt/c/d# docker load -i openEuler-docker.x86_64.tar.xz
^Croot@DESKTOP-59T6U68:/mnt/c/d# ^C
root@DESKTOP-59T6U68:/mnt/c/d# xz --help
Usage: xz [OPTION]... [FILE]...
Compress or decompress FILEs in the .xz format.
-z, --compress force compression
-d, --decompress force decompression
-t, --test test compressed file integrity
-l, --list list information about .xz files
-k, --keep keep (don't delete) input files
-f, --force force overwrite of output file and (de)compress links
-c, --stdout write to standard output and don't delete input files
-0 ... -9 compression preset; default is 6; take compressor *and*
decompressor memory usage into account before using 7-9!
-e, --extreme try to improve compression ratio by using more CPU time;
does not affect decompressor memory requirements
-T, --threads=NUM use at most NUM threads; the default is 1; set to 0
to use as many threads as there are processor cores
-q, --quiet suppress warnings; specify twice to suppress errors too
-v, --verbose be verbose; specify twice for even more verbose
-h, --help display this short help and exit
-H, --long-help display the long help (lists also the advanced options)
-V, --version display the version number and exit
With no FILE, or when FILE is -, read standard input.
Report bugs to <lasse.collin@tukaani.org> (in English or Finnish).
XZ Utils home page: <https://tukaani.org/xz/>
手动解压后,load成功
root@DESKTOP-59T6U68:/mnt/c/d# xz -d openEuler-docker.x86_64.tar.xz
root@DESKTOP-59T6U68:/mnt/c/d# docker load -i openEuler-docker.x86_64.tar
Getting image source signatures
Copying blob 589199c50a85 done
Copying config 1e8198c4a9 done
Writing manifest to image destination
Storing signatures
Loaded image(s): docker.io/library/openeuler-24.03-lts-sp1:latest
运行容器
root@DESKTOP-59T6U68:/mnt/c/d#
root@DESKTOP-59T6U68:/mnt/c/d# docker run -itd -v /mnt/c/d:/par --network=host --name openel24 docker.io/library/openeuler-24.03-lts-sp1:latest
a24f71c9e98e3b112e0dca787266aa60871355e2c5aaff1727f943060808cc72
root@DESKTOP-59T6U68:/mnt/c/d# docker exec -it openel24 bash
Welcome to 6.6.87.2-microsoft-standard-WSL2
System information as of time: Fri Jun 26 21:32:45 CST 2026
System load: 0.12
Memory used: 4.4%
Swap used: 0%
Usage On: 56%
Users online: 0
[root@DESKTOP-59T6U68 /]# uname -a
Linux DESKTOP-59T6U68 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@DESKTOP-59T6U68 par]# cat /proc/version
Linux version 6.6.87.2-microsoft-standard-WSL2 (root@439a258ad544) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025
[root@DESKTOP-59T6U68 /]# cd /par
[root@DESKTOP-59T6U68 par]# ./duckdb153
DuckDB v1.5.3 (Variegata)
Enter ".help" for usage hints.
memory D
[root@DESKTOP-59T6U68 par]# python3
Python 3.11.6 (main, Dec 18 2024, 22:06:12) [GCC 12.3.1 (openEuler 12.3.1-62.oe2403sp1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
[root@DESKTOP-59T6U68 par]# cat /etc/issue
\S
Kernel \r on an \m
除了在python3的启动信息中,看不出来是什么系统。for linux的duckdb也能正常运行。
如果要直接拉取镜像,参考如下:https://www.openeuler.openatom.cn/zh/wiki/install/image/