1、Docker安装Flowise
#git clone https://gitcode.com/gh_mirrors/fl/Flowise.git
Cloning into ‘Flowise’…
remote: Enumerating objects: 32467, done.
remote: Counting objects: 100% (9834/9834), done.
remote: Compressing objects: 100% (1117/1117), done.
remote: Total 32467 (delta 9436), reused 8717 (delta 8717), pack-reused 22633 (from 1)
Receiving objects: 100% (32467/32467), 17.97 MiB | 2.42 MiB/s, done.
Resolving deltas: 100% (21038/21038), done.
#cd ./Flowise/docker/
#cp .env.example .env
【
#docker compose up -d
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: unknown shorthand flag: ‘d’ in -d
#yum remove podman
#yum remove docker
#yum install https://download.docker.com/linux/centos/8/x86_64/stable/Packages/containerd.io-1.4.3-3.1.el8.x86_64.rpm --allowerasing
Repository extras is listed more than once in the configuration
Last metadata expiration check: 0:23:38 ago on Thu 28 Nov 2024 01:51:49 PM CST.
[MIRROR] containerd.io-1.4.3-3.1.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://download.docker.com/linux/centos/8/x86_64/stable/Packages/containerd.io-1.4.3-3.1.el8.x86_64.rpm [Operation timed out after 30000 milliseconds with 0 out of 0 bytes received]
containerd.io-1.4.3-3.1.el8.x86_64.rpm 208 kB/s | 33 MB 02:43
dependencies resolved.
Package Architecture Version Repository Size
Installing:
containerd.io x86_64 1.4.3-3.1.el8 @commandline 33 M
replacing runc.x86_64 1.0.2-1.module_el8.5.0+911+f19012f9
Removing dependent packages:
containers-common noarch 2:1-2.module_el8.5.0+890+6b136101 @appstream 236 k
Transaction Summary
Install 1 Package
Remove 1 Package
Total size: 33 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : containerd.io-1.4.3-3.1.el8.x86_64 1/3
Running scriptlet: containerd.io-1.4.3-3.1.el8.x86_64 1/3
Erasing : containers-common-2:1-2.module_el8.5.0+890+6b136101.noarch 2/3
Obsoleting : runc-1.0.2-1.module_el8.5.0+911+f19012f9.x86_64 3/3
Running scriptlet: runc-1.0.2-1.module_el8.5.0+911+f19012f9.x86_64 3/3
Verifying : containerd.io-1.4.3-3.1.el8.x86_64 1/3
Verifying : runc-1.0.2-1.module_el8.5.0+911+f19012f9.x86_64 2/3
Verifying : containers-common-2:1-2.module_el8.5.0+890+6b136101.noarch 3/3
Installed:
containerd.io-1.4.3-3.1.el8.x86_64
Removed:
containers-common-2:1-2.module_el8.5.0+890+6b136101.noarch
Complete!
#yum install -y yum-utils device-mapper-persistent-data lvm2
Repository extras is listed more than once in the configuration
Last metadata expiration check: 0:28:48 ago on Thu 28 Nov 2024 01:51:49 PM CST.
Package yum-utils-4.0.21-3.el8.noarch is already installed.
Package device-mapper-persistent-data-0.9.0-4.el8.x86_64 is already installed.
Package lvm2-8:2.03.12-10.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
#yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Repository extras is listed more than once in the configuration
Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
#yum install -y docker-ce
Repository extras is listed more than once in the configuration
Docker CE Stable - x86_64 735 B/s | 66 kB 01:31
Last metadata expiration check: 0:00:30 ago on Thu 28 Nov 2024 02:22:52 PM CST.
Dependencies resolved.
Package Architecture Version Repository Size
Installing:
docker-ce x86_64 3:26.1.3-1.el8 docker-ce-stable 27 M
Upgrading:
containerd.io x86_64 1.6.32-3.1.el8 docker-ce-stable 35 M
Installing dependencies:
docker-ce-cli x86_64 1:26.1.3-1.el8 docker-ce-stable 7.8 M
Installing weak dependencies:
docker-buildx-plugin x86_64 0.14.0-1.el8 docker-ce-stable 14 M
docker-ce-rootless-extras x86_64 26.1.3-1.el8 docker-ce-stable 5.0 M
docker-compose-plugin x86_64 2.27.0-1.el8 docker-ce-stable 13 M
Transaction Summary
Install 5 Packages
Upgrade 1 Package
Total download size: 102 M
Downloading Packages:
[MIRROR] docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm [Operation timed out after 30000 milliseconds with 0 out of 0 bytes received]
(1/6): docker-ce-cli-26.1.3-1.el8.x86_64.rpm 250 kB/s | 7.8 MB 00:32
(2/6): docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm 162 kB/s | 14 MB 01:26
(3/6): docker-ce-rootless-extras-26.1.3-1.el8.x86_64.rpm 255 kB/s | 5.0 MB 00:19
(4/6): docker-ce-26.1.3-1.el8.x86_64.rpm 254 kB/s | 27 MB 01:49
(5/6): docker-compose-plugin-2.27.0-1.el8.x86_64.rpm 257 kB/s | 13 MB 00:53
(6/6): containerd.io-1.6.32-3.1.el8.x86_64.rpm 256 kB/s | 35 MB 02:21
Total 417 kB/s | 102 MB 04:11
Docker CE Stable - x86_64 2.0 kB/s | 1.6 kB 00:00
Importing GPG key 0x621E9F35:
Userid : “Docker Release (CE rpm) [email protected]”
Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
From : https://download.docker.com/linux/centos/gpg
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: docker-compose-plugin-2.27.0-1.el8.x86_64 1/1
Installing : docker-compose-plugin-2.27.0-1.el8.x86_64 1/7
Running scriptlet: docker-compose-plugin-2.27.0-1.el8.x86_64 1/7
Upgrading : containerd.io-1.6.32-3.1.el8.x86_64 2/7
Running scriptlet: containerd.io-1.6.32-3.1.el8.x86_64 2/7
Installing : docker-buildx-plugin-0.14.0-1.el8.x86_64 3/7
Running scriptlet: docker-buildx-plugin-0.14.0-1.el8.x86_64 3/7
Installing : docker-ce-cli-1:26.1.3-1.el8.x86_64 4/7
Running scriptlet: docker-ce-cli-1:26.1.3-1.el8.x86_64 4/7
Installing : docker-ce-rootless-extras-26.1.3-1.el8.x86_64 5/7
Running scriptlet: docker-ce-rootless-extras-26.1.3-1.el8.x86_64 5/7
Installing : docker-ce-3:26.1.3-1.el8.x86_64 6/7
Running scriptlet: docker-ce-3:26.1.3-1.el8.x86_64 6/7
Running scriptlet: containerd.io-1.4.3-3.1.el8.x86_64 7/7
Cleanup : containerd.io-1.4.3-3.1.el8.x86_64 7/7
Running scriptlet: containerd.io-1.4.3-3.1.el8.x86_64 7/7
Verifying : docker-buildx-plugin-0.14.0-1.el8.x86_64 1/7
Verifying : docker-ce-3:26.1.3-1.el8.x86_64 2/7
Verifying : docker-ce-cli-1:26.1.3-1.el8.x86_64 3/7
Verifying : docker-ce-rootless-extras-26.1.3-1.el8.x86_64 4/7
Verifying : docker-compose-plugin-2.27.0-1.el8.x86_64 5/7
Verifying : containerd.io-1.6.32-3.1.el8.x86_64 6/7
Verifying : containerd.io-1.4.3-3.1.el8.x86_64 7/7
Upgraded:
containerd.io-1.6.32-3.1.el8.x86_64
Installed:
docker-buildx-plugin-0.14.0-1.el8.x86_64 docker-ce-3:26.1.3-1.el8.x86_64 docker-ce-cli-1:26.1.3-1.el8.x86_64
docker-ce-rootless-extras-26.1.3-1.el8.x86_64 docker-compose-plugin-2.27.0-1.el8.x86_64
Complete!
#systemctl start docker
】
【
Docker使用国内镜像源
#more /etc/docker/daemon.json
{
“registry-mirrors”:[
“https://registry.docker-cn.com”,
“https://docker.mirrors.ustc.edu.cn”,
“https://hub-mirror.c.163.com”,
“https://mirror.baidubce.com”,
“https://ccr.ccs.tencentyun.com”
]
}
Docker国内镜像源:https://registry.docker-cn.com
中科大源:https://docker.mirrors.ustc.edu.cn
网易源:https://hub-mirror.c.163.com
百度源:https://mirror.baidubce.com
腾讯源:https://ccr.ccs.tencentyun.com
#mkdir /etc/systemd/system/docker.service.d
[Service]
Environment=“HTTP_PROXY=192.168.100.202:18888”
Environment=“HTTPS_PROXY=192.168.100.202:18888”
使用tinyproxy.service代理服务器
#docker info
Client: Docker Engine - Community
Version: 26.1.3
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.14.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.27.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 26.1.3
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8b3b7ca2e5ce38e8f31a34f35b2b68ceb8470d89
runc version: v1.1.12-0-g51d5e94
init version: de40ad0
Security Options:
seccomp
Profile: builtin
Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
Operating System: CentOS Linux 8
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 7.56GiB
Name: boco202
ID: bc8b909e-f3af-4075-8018-f427449c6ca4
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: localhost:7890
HTTPS Proxy: localhost:7890
Experimental: false
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://registry.docker-cn.com/
https://docker.mirrors.ustc.edu.cn/
https://hub-mirror.c.163.com/
https://mirror.baidubce.com/
https://ccr.ccs.tencentyun.com/
Live Restore Enabled: false
#systemctl daemon-reload
#docker system prune -a
#systemctl restart docker
】
#docker compose up -d
✘ flowise Error Get “https://registry-1.docker.io/v2/”: Access denied 0.2s
Error response from daemon: Get “https://registry-1.docker.io/v2/”: Access denied