找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 17|回复: 0

[Docker] 画图神器 - excalidraw

[复制链接]

1884

主题

520

回帖

7371

积分

管理员

积分
7371
发表于 2024-11-20 14:38:09 | 显示全部楼层 |阅读模式

1. 使用Docker拉取Excalidraw镜像
docker pull excalidraw/excalidraw
  1. anmkj@anmkj:~$ sudo -i
  2. Password:
  3. root@anmkj:~# docker pull excalidraw/excalidraw
  4. Using default tag: latest
  5. latest: Pulling from excalidraw/excalidraw
  6. 43c4264eed91: Pull complete
  7. d1171b13e412: Pull complete
  8. 596d53a7de88: Pull complete
  9. f99ac9ba1313: Pull complete
  10. fd072e74e282: Pull complete
  11. 379754eea6a7: Pull complete
  12. 45eb579d59b2: Pull complete
  13. 472934715761: Pull complete
  14. 3c7cff8e9663: Pull complete
  15. Digest: sha256:4d5423c1d80f353458307324b169500df334856eccc2e39fc6fa13808a64e1c2
  16. Status: Downloaded newer image for excalidraw/excalidraw:latest
  17. docker.io/excalidraw/excalidraw:latest
  18. root@anmkj:~#
复制代码
2. 查看Excalidraw镜像安装是否成功
docker images
  1. root@anmkj:~# docker images
  2. REPOSITORY                       TAG                  IMAGE ID       CREATED         SIZE
  3. excalidraw/excalidraw            latest               9276194fca3d   2 weeks ago     91.2MB
  4. fooololo/aipan-netdisk-search    latest               ca1ba053e41b   3 months ago    617MB
  5. 1panel-php                       7.4.33               2a392746e7f2   3 months ago    87.4MB
  6. wcjiang/linux-command            latest               333b6e3fc22d   3 months ago    60.7MB
  7. mauricenino/dashdot              latest               09fd68ffb2f0   3 months ago    200MB
  8. 1panel/openresty                 1.21.4.3-3-3-focal   47fabb474247   4 months ago    667MB
  9. nriver/trilium-cn                latest               94d8aa3a7761   5 months ago    712MB
  10. <none>                           <none>               591377cbf435   5 months ago    87.4MB
  11. talebook/calibre-webserver       latest               e27bd97c0ea2   6 months ago    2.18GB
  12. neilpang/acme.sh                 latest               d8eab6b52214   6 months ago    36.1MB
  13. nyanmisaka/jellyfin              latest               88371bc54600   7 months ago    1.18GB
  14. alturismo/xteve_guide2go         latest               670dd7481af9   8 months ago    301MB
  15. <none>                           <none>               bf465a107984   9 months ago    81.1MB
  16. <none>                           <none>               89e9394e6c74   9 months ago    359MB
  17. linuxserver/snapdrop             latest               39a5ba8dbbfc   9 months ago    133MB
  18. neosmemo/memos                   latest               b6a37ae4ea01   9 months ago    71.7MB
  19. jonnyan404/mrdoc-alpine          latest               3f49cf8f2219   9 months ago    723MB
  20. jrohy/webssh                     latest               3a240e514cbb   9 months ago    18.5MB
  21. qingfeng2336/it-tools            latest               c72e193c75f6   9 months ago    53.6MB
  22. shtse8/photopea                  1.0                  16bbc053420e   9 months ago    138MB
  23. helloz/onenav                    latest               7c94129ed04b   10 months ago   48.2MB
  24. jonnyan404/verysync              latest               a2c9de778f9e   11 months ago   51.1MB
  25. kangle                           2023118              b70597e6ce13   12 months ago   2.7GB
  26. mysql5.5                         2023118              5510fb6b9cd9   12 months ago   199MB
  27. whyour/qinglong                  latest               51c284700116   12 months ago   283MB
  28. jupyter/datascience-notebook     latest               f78a42f3bc9a   13 months ago   5.92GB
  29. zhaojun1998/zfile                latest               4be9b42156f9   18 months ago   348MB
  30. chishin/nginx-proxy-manager-zh   latest               f498a6625eda   2 years ago     936MB
  31. codeskyblue/gohttpserver         latest               a498dbd6a220   3 years ago     140MB
  32. pch18/baota   
复制代码
3. 创建并启动Excalidraw容器

成功拉取Excalidraw镜像后,我们可以使用该镜像创建并运行一个Excalidraw容器。

在终端执行以下命令:

  1. docker run -d --name excalidraw -p 5000:80 excalidraw/excalidraw
复制代码

参数说明:

  • –name excalidraw:本例容器名称为excalidraw,大家可以自己起名。
  • -p 5000:80: 端口进行映射,将本地 5000 端口映射到容器内部的 80 端口。
  • **-d ** :设置容器在在后台一直运行。
然后执行下方命令查看容器是否正在运行:

  1. docker ps
复制代码


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表