Hey,
I just tried reproducing your error again, without any luck.
I used a cloud VM with Ubuntu 18.04.
I used the following instructions to install docker:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
apt-get update; apt-get install docker-ce -y
Source: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
To install docker-compose:
curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Source: https://linuxize.com/post/how-to-install-and-use-docker-compose-on-ubuntu-18-04/
Check the latest docker-compose version: https://github.com/docker/compose/releases/
Afterwards I copy pasted the instructions from the owncloud documentation and it worked flawlessly.
# Create a new project directory
mkdir owncloud-docker-server
cd owncloud-docker-server
# Copy docker-compose.yml from the GitHub repository
wget https://raw.githubusercontent.com/owncloud/docs/master/modules/admin_manual/examples/installation/docker/docker-compose.yml
# Create the environment configuration file
cat << EOF > .env
OWNCLOUD_VERSION=10.3
OWNCLOUD_DOMAIN=localhost
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
HTTP_PORT=8080
EOF
# Build and start the container
docker-compose up -d
So if you take a fresh VM, this should work by just copy pasting all the commands from this post it should just work (I’ve tried it twice).