1. 使用Docker拉取Excalidraw镜像
docker pull excalidraw/excalidraw
- anmkj@anmkj:~$ sudo -i
- Password:
- root@anmkj:~# docker pull excalidraw/excalidraw
- Using default tag: latest
- latest: Pulling from excalidraw/excalidraw
- 43c4264eed91: Pull complete
- d1171b13e412: Pull complete
- 596d53a7de88: Pull complete
- f99ac9ba1313: Pull complete
- fd072e74e282: Pull complete
- 379754eea6a7: Pull complete
- 45eb579d59b2: Pull complete
- 472934715761: Pull complete
- 3c7cff8e9663: Pull complete
- Digest: sha256:4d5423c1d80f353458307324b169500df334856eccc2e39fc6fa13808a64e1c2
- Status: Downloaded newer image for excalidraw/excalidraw:latest
- docker.io/excalidraw/excalidraw:latest
- root@anmkj:~#
复制代码 2. 查看Excalidraw镜像安装是否成功
docker images
- root@anmkj:~# docker images
- REPOSITORY TAG IMAGE ID CREATED SIZE
- excalidraw/excalidraw latest 9276194fca3d 2 weeks ago 91.2MB
- fooololo/aipan-netdisk-search latest ca1ba053e41b 3 months ago 617MB
- 1panel-php 7.4.33 2a392746e7f2 3 months ago 87.4MB
- wcjiang/linux-command latest 333b6e3fc22d 3 months ago 60.7MB
- mauricenino/dashdot latest 09fd68ffb2f0 3 months ago 200MB
- 1panel/openresty 1.21.4.3-3-3-focal 47fabb474247 4 months ago 667MB
- nriver/trilium-cn latest 94d8aa3a7761 5 months ago 712MB
- <none> <none> 591377cbf435 5 months ago 87.4MB
- talebook/calibre-webserver latest e27bd97c0ea2 6 months ago 2.18GB
- neilpang/acme.sh latest d8eab6b52214 6 months ago 36.1MB
- nyanmisaka/jellyfin latest 88371bc54600 7 months ago 1.18GB
- alturismo/xteve_guide2go latest 670dd7481af9 8 months ago 301MB
- <none> <none> bf465a107984 9 months ago 81.1MB
- <none> <none> 89e9394e6c74 9 months ago 359MB
- linuxserver/snapdrop latest 39a5ba8dbbfc 9 months ago 133MB
- neosmemo/memos latest b6a37ae4ea01 9 months ago 71.7MB
- jonnyan404/mrdoc-alpine latest 3f49cf8f2219 9 months ago 723MB
- jrohy/webssh latest 3a240e514cbb 9 months ago 18.5MB
- qingfeng2336/it-tools latest c72e193c75f6 9 months ago 53.6MB
- shtse8/photopea 1.0 16bbc053420e 9 months ago 138MB
- helloz/onenav latest 7c94129ed04b 10 months ago 48.2MB
- jonnyan404/verysync latest a2c9de778f9e 11 months ago 51.1MB
- kangle 2023118 b70597e6ce13 12 months ago 2.7GB
- mysql5.5 2023118 5510fb6b9cd9 12 months ago 199MB
- whyour/qinglong latest 51c284700116 12 months ago 283MB
- jupyter/datascience-notebook latest f78a42f3bc9a 13 months ago 5.92GB
- zhaojun1998/zfile latest 4be9b42156f9 18 months ago 348MB
- chishin/nginx-proxy-manager-zh latest f498a6625eda 2 years ago 936MB
- codeskyblue/gohttpserver latest a498dbd6a220 3 years ago 140MB
- pch18/baota
复制代码 3. 创建并启动Excalidraw容器成功拉取Excalidraw镜像后,我们可以使用该镜像创建并运行一个Excalidraw容器。 在终端执行以下命令: - docker run -d --name excalidraw -p 5000:80 excalidraw/excalidraw
复制代码参数说明: - –name excalidraw:本例容器名称为excalidraw,大家可以自己起名。
- -p 5000:80: 端口进行映射,将本地 5000 端口映射到容器内部的 80 端口。
- **-d ** :设置容器在在后台一直运行。
然后执行下方命令查看容器是否正在运行:
|