nextcloud 安装docker+onlyoffice

[root@nextcloud tmp]# systemctl start podman
[root@nextcloud tmp]# podman run -i -t -d -p 8080:80 -p 8443:443  --restart=always onlyoffice/documentserver

Error: ^C
[root@nextcloud tmp]# podman  pull onlyoffice/documentserver:7.0.1.37^C
[root@nextcloud tmp]# gzip -d documentserver_community.tar.gz

[root@nextcloud tmp]#
[root@nextcloud tmp]# ls
anaconda.log                  systemd-private-3f6723c8875942bfa5ccfd97c783950a-bluetooth.service-MoxIwh
dbus.log                      systemd-private-3f6723c8875942bfa5ccfd97c783950a-colord.service-0Yv64f
dnf.librepo.log               systemd-private-3f6723c8875942bfa5ccfd97c783950a-geoclue.service-pumBoj
documentserver_community.tar  systemd-private-3f6723c8875942bfa5ccfd97c783950a-httpd.service-au4KMf
ks-script-eqvbrnx0            systemd-private-3f6723c8875942bfa5ccfd97c783950a-ModemManager.service-kQWmzf
ks-script-wag58s4t            systemd-private-3f6723c8875942bfa5ccfd97c783950a-php-fpm.service-wr2Nbi
nextcloud                     systemd-private-3f6723c8875942bfa5ccfd97c783950a-rtkit-daemon.service-fy247h
nextcloud-24.0.3.tar          Temp-43d212d2-13b7-4329-9c80-0a49be7692b8
packaging.log                 tracker-extract-files.0
program.log                   tracker-extract-files.1000
sensitive-info.log
[root@nextcloud tmp]# podman  pull onlyoffice/documentserver
✔ registry.centos.org/onlyoffice/documentserver:latest
Trying to pull registry.centos.org/onlyoffice/documentserver:latest...
Error: initializing source docker://registry.centos.org/onlyoffice/documentserver:latest: reading manifest latest in registry.centos.org/onlyoffice/documentserver: manifest unknown: manifest unknown
[root@nextcloud tmp]# podman  pull onlyoffice/documentserver
✔ docker.io/onlyoffice/documentserver:latest
Trying to pull docker.io/onlyoffice/documentserver:latest...
Getting image source signatures
Copying blob 05cf01b35c53 done
Copying blob ae7fe860fb26 done
Copying blob 603744b8c3ff done
Copying blob d5fd17ec1767 done
Copying blob 65a320ec6c4e done
Copying config 5a50e3a2d2 done
Writing manifest to image destination
Storing signatures
5a50e3a2d2ed47b24518607dd4b6ea62ac7ab7bc32033f962d7006343bdd80f7
[root@nextcloud tmp]# podman  run -i -t -d -p 8080:80 -p 8443:443  --restart=always onlyoffice/documentserver
010c0852efc09f87bfd95ec914db539c0b61b86531f614fe5e28dd7994289b49
[root@nextcloud tmp]# docker ps
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
CONTAINER ID  IMAGE                                       COMMAND     CREATED         STATUS            PORTS                                        NAMES
010c0852efc0  docker.io/onlyoffice/documentserver:latest              33 seconds ago  Up 9 seconds ago  0.0.0.0:8080->80/tcp, 0.0.0.0:8443->443/tcp  reverent_hugle
[root@nextcloud tmp]#

重启运行docker

[root@nextcloud ~]# podman ps -a
CONTAINER ID  IMAGE                                       COMMAND     CREATED       STATUS      PORTS                                        NAMES
010c0852efc0  docker.io/onlyoffice/documentserver:latest              16 hours ago  Created     0.0.0.0:8080->80/tcp, 0.0.0.0:8443->443/tcp  reverent_hugle
[root@nextcloud ~]# docker images
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
REPOSITORY                           TAG         IMAGE ID      CREATED      SIZE
docker.io/library/ubuntu             latest      27941809078c  7 weeks ago  80.3 MB
docker.io/onlyoffice/documentserver  latest      5a50e3a2d2ed  8 weeks ago  2.99 GB
[root@nextcloud ~]# podman  stats -l
Error: container state improper
[root@nextcloud ~]# podman run -i -t -d -p 8080:80 -p 8443:443 docker.io/onlyoffice/documentserver:latest
5928bc2b3a234ebbde9c7d239ef981381328e54e4b061a80b9b583ec0729e699

你可能感兴趣的:(docker,运维,容器)