Unmet requirements: docker.server.version exists
Hi Everyone!
OS: Windows 11
TeamCity docker image version: 2022.10.3
I am running TeamCity in docker but I am getting Unmet requirements: docker.server.version exists.
I read several topics and cannot find a clear answer, I am quite lost after investing several hours.
These are my docker run commands
docker run -it --name teamcity-server-instance -v TeamCity -v team_city_logs:/opt/teamcity_server/logs -p 8111:8111 -d jetbrains/teamcity-server
docker run --name teamcity-agent -it --privileged -e DOCKER_IN_DOCKER=start -e SERVER_URL="http://host.docker.internal:8111/" -v :/data/teamcity_agent/conf -d jetbrains/teamcity-minimal-agent
Could someone please help me?
Best,
Guille
Please sign in to leave a comment.
I am getting this from the logs:
rains.buildServer.AGENT.DOCKER - Docker client is not available. Check whether it has been installed and PATH environment variable contains path to it.
rains.buildServer.AGENT.DOCKER - Docker server is not available. Check whether docker daemon exists and it is up and running.
rains.buildServer.AGENT.DOCKER - Docker-compose is not available. Check whether it has been installed and PATH environment variable contains path to it.
Thanks!
Docker in Docker support is only available in the full agent image and is also only available for Linux containers. Please refer to the official Docker Hub page for detailed information on using Docker in Docker on TeamCity Agents: https://hub.docker.com/r/jetbrains/teamcity-agent.
Thanks a lot! Solved!