-
I've got this Kubernetes YAML file: apiVersion: v1
kind: Pod
metadata:
labels:
app: nextcloud-pod
name: nextcloud-pod
spec:
hostname: nextcloud-pod
securityContext:
seLinuxOptions:
type: spc_t
containers:
- name: nextcloud
image: docker.io/_/nextcloud:fpm
volumeMounts:
- name: "nextcloud-data"
mountPath: "/var/www/html"
environment:
- name: NEXTCLOUD_ADMIN_USER
value: admin
- name: NEXTCLOUD_ADMIN_PASSWORD
value: REDACTED
- name: NEXTCLOUD_TRUSTED_DOMAINS
value: REDACTED
- name: TRUSTED_PROXIES
value: caddy 172.18.0.4
- name: OVERWRITEPROTOCOL
value: https
- name: PHP_MEMORY_LIMIT
value: 512M
- name: PHP_UPLOAD_LIMIT
value: 4048M
- name: SMTP_HOST
value: smtp.sendgrid.net
- name: SMTP_SECURE
value: tls
- name: SMTP_PORT
value: "587"
- name: SMTP_NAME
value: apikey
- name: SMTP_PASSWORD
value: "REDACTED"
- name: MYSQL_DATABASE
value: nextcloud
- name: MYSQL_USER
value: nextcloud
- name: MYSQL_PASSWORD
value: REDACTED
- name: MYSQL_HOST
value: db
- name: REDIS_HOST
value: redis
- name: db
image: docker.io/_/mariadb:10.6
args: [
"--transaction-isolation=READ-COMMITTED",
"--log-bin=binlog",
"--binlog-format=ROW" ]
volumeMounts:
- name: "nextcloud-db"
mountPath: "/var/lib/mysql"
environment:
- name: MYSQL_DATABASE
value: nextcloud
- name: MYSQL_USER
value: nextcloud
- name: MYSQL_PASSWORD
value: REDACTED
- name: MYSQL_ROOT_PASSWORD
value: REDACTED
- name: redis
image: docker.io/_/redis:alpine
volumeMounts:
- name: "nextcloud-redis"
mountPath: "/data"
- name: cron
image: nextcloud:apache
command: [/cron.sh]
volumeMounts:
- name: "nextcloud-data"
mountPath: "/var/www/html"
volumes:
- name: "nextcloud-data"
persistentVolumeClaim:
claimName: "nextcloud-data"
- name: "nextcloud-db"
persistentVolumeClaim:
claimName: "nextcloud-db"
- name: "nextcloud-redis"
persistentVolumeClaim:
claimName: "nextcloud-redis" Every time I try to run
That's not a particularly helpful error message. I looked it up, and couldn't find anything relevant. I was assuming it meant there's something up with my YAML file, but I ran it through a linter, and it had no complaints. |
Beta Was this translation helpful? Give feedback.
Answered by
Luap99
May 17, 2023
Replies: 1 comment 2 replies
-
In the YAML file there is a line:
I tried to pull the image and get the same error
I guess the problem is the character Docker produces a similar error
I ran the commands on a Fedora CoreOS 38.20230514.1.0 system. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The correct reference is either
docker.io/nextcloud:fpm
ordocker.io/library/nextcloud:fpm