├── Dockerfile └── README.md /Dockerfile: -------------------------------------------------------------------------------- 1 | # Build on Apple Silicon chips: docker buildx build --platform=linux/x86_64 2 | FROM ubuntu:latest 3 | 4 | RUN apt update \ 5 | && dpkg --add-architecture i386 \ 6 | && DEBIAN_FRONTEND=noninteractive apt install -y wine-stable \ 7 | && apt clean \ 8 | && rm -rf /var/lib/apt/lists/* 9 | 10 | ENV WINEARCH=win64 \ 11 | WINEDEBUG=-all 12 | 13 | RUN winecfg 14 | 15 | VOLUME /opt/server 16 | WORKDIR /opt/server 17 | 18 | CMD ["wine", "accServer.exe"] 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ACC Server Container 2 | 3 | [![](https://images.microbadger.com/badges/image/grimsi/accserver.svg)](https://microbadger.com/images/grimsi/accserver) [![](https://images.microbadger.com/badges/version/grimsi/accserver.svg)](https://microbadger.com/images/grimsi/accserver) 4 | 5 | Docker container ready to run a Assetto Corsa competizione server instance. 6 | It is based on Ubuntu (unfortunatly I could not get it to work with Alpine) and has Wine-Development installed to run the accServer.exe. 7 | 8 | This container is used for every instance managed by my [ACC Server Manager](https://github.com/grimsi/accservermanager-backend). 9 | 10 | ## Usage 11 | 12 | To run the ACC Server in a container you need to have the server downloaded on the same machine (I cant put it directly in the container since the server is copyrighted by Kunos). 13 | 14 | Start the container with the following command: 15 | ``` 16 | docker run --name accServer -v :/opt/server -p :/tcp -p :/udp grimsi/accserver:latest 17 | ``` 18 | That's it! Your server should be now up and running. You can even create more instances and run them at the same time by copying the folder with the accServer.exe and changing the config options (you have to change the ports and remember to pass the new ports to the container when youre starting it). 19 | --------------------------------------------------------------------------------