Fresh user - sick of Nextcloud’s weird issues, when all I really want is a great file syncer. Decided to try Pro, since I only have 3 users anyway and the full text search sounds really interesting.
I’m following the installation docs at
manual. seafile. com /latest /setup /setup_pro_by_docker
Docker Desktop is installed on my Windows 11 system. I’ve downloaded the latest V12 version of the Seafile from docker hub (v12.0.9) and created a container from the image and run it.
I’ve edited my .env file to fill in the required fields, leaving the rest at the defaults.
Side note - nano is not available on this image although the install guide suggested it. I used vi instead.
I’ve created the /opt/seafile-elasticsearch/data folder and set the permissions.
The next step is to run
docker compose up -d
From the /opt/seafile folder where the .env file is.
But I get:
/bin/sh: 38: docker: not found
Shouldn’t the image have docker already installed? It seems like it might be, because if I search for docker related files I find a ton of them:
./usr/share/vim/vim91/ftplugin/dockerfile.vim
./usr/share/vim/vim91/syntax/dockerfile.vim
./etc/apt/apt.conf.d/docker-clean
./etc/apt/apt.conf.d/docker-no-languages
./etc/apt/apt.conf.d/docker-autoremove-suggests
./etc/apt/apt.conf.d/docker-gzip-indexes
./etc/apt/apt.conf.d/docker-disable-periodic-update
./etc/dpkg/dpkg.cfg.d/docker-apt-speedup
./root/.acme.sh/deploy/docker.sh./scripts/acme.sh/deploy/docker.sh
./.dockerenv
I tried an apt-get install docker, but apparently that’s not available. I didn’t want to start messing around too much if there’s a known set of steps to get this working.
Shouldn’t the image have docker already installed?
I think either I am confused about what you are asking, or you are confused about how this works. The docker image you downloaded is the filesystem for a docker container (you can think of it like a VM even though it isn’t really a VM, and this is the virtual disk image). Docker is a utility for starting and managing containers (like vmware workstation, or virtualbox are for VMs). There won’t be docker inside the container because docker is the tool that runs outside the container to start and manage that container.
I’ve never run docker on windows, so I have no idea how you do it. But I think you need to try to convert the instructions into windows equivalents because these instructions assume a Linux server. So you might need to edit the .env with notepad++ instead of nano, and start the container by clicking some button in some UI somewhere instead of running the docker compose command. It kinda sounds like you got the container to run already, so I guess you have that part covered.
I wish I could be more help, but I know nothing about windows. Hopefully it helps to know that none of the steps in that doc are things that are supposed to be done inside the container.