在包含Dockerfile的目录中,打开终端或命令行,运行以下命令来构建Docker镜像: bash docker build -t affine-env . 这里的-t affine-env是给镜像指定一个标签(tag),你可以根据需要更改这个标签名。 运行Docker容器: 构建完成后,你可以运行容器来验证affine库是否已成功安装: bash docker run --rm -it affine-env...
1. 使用Docker安装AFFINE 要安装使用最简单的方法是使用 Docker 一键启动: 然后在浏览器中打开 http://localhost:3000 即可。 此外我们也可以获取代码,直接启动: 然后安装项目依赖: 接着就可以直接启动项目了: 同样在浏览器中打开 http://localhost:3000 即可。 2. 安装cpolar内网穿透工具 上面我们在docker中成功安...
1. 使用Docker安装AFFiNE 要安装使用AFFiNE最简单的方法是使用 Docker 一键启动: docker pull ghcr.io/toeverything/affine-self-hosted:pre-alpha 1. docker run -d -p 3000:3000 --name affine ghcr.io/toeverything/affine-self-hosted:pre-alpha 1. 然后在浏览器中打开 http://localhost:3000 即可。 ...
下载Affine镜像在Docker Hub上找到Affine镜像,并下载到本地。您可以使用以下命令来下载最新的Affine镜像: docker pull ghcr.io/toeverything/affine:latest 创建Affine容器使用以下命令来创建Affine容器: docker run -d --name affine -p 3000:3000 --restart always ghcr.io/toeverything/affine:latest 其中,-d表...
1. 使用Docker安装AFFINE 要安装使用 AFFiNE 最简单的方法是使用 Docker 一键启动: docker pull ghcr.io/toeverything/affine-self-hosted:pre-alpha docker run -d -p 3000:3000 --name affine ghcr.io/toeverything/affine-self-hosted:pre-alpha 然后在浏览器中打开 http://localhost:3000 即可。 此外...
1. 使用Docker安装AFFINE 要安装使用AFFiNE最简单的方法是使用 Docker 一键启动: docker pull ghcr.io/toeverything/affine-self-hosted:pre-alpha Go Copy docker run-d-p3000:3000--name affine ghcr.io/toeverything/affine-self-hosted:pre-alpha ...
1. 使用Docker安装AFFiNE 要安装使用AFFiNE最简单的方法是使用 Docker 一键启动: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 docker pull ghcr.io/toeverything/affine-self-hosted:pre-alpha 代码语言:javascript 代码运行次数:0 运行 AI代码解释 ...
1.创建安装目录 代码语言:txt AI代码解释 [root@node ~]# mkdir -p /data/affine [root@node ~]# cd /data/affine/ [root@node affine]# 2.创建Affine容器 代码语言:txt AI代码解释 [root@node affine]# docker run -d --name affine -p 3520:3000 --restart always ghcr.io/toeverything/affine...
本次服务器环境是 ubuntu 系统镜像,需要自己安装 docker 环境 使用apt-get 命令安装 docker 及其配置 #安装必要工具包 $ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common#添加 Docker GPG 秘钥 $ sudo curl -fsSLhttps://mirrors.ustc.edu.cn/docker-ce/...
1. 使用Docker安装AFFiNE 要安装使用AFFiNE最简单的方法是使用 Docker 一键启动: docker pull ghcr.io/toeverything/affine-self-hosted:pre-alpha docker run -d -p 3000:3000 --name affine ghcr.io/toeverything/affine-self-hosted:pre-alpha