# Lemmy Instance in Docker > This is how SudoVanilla's Lemmy server is setup. Create a folder for your Lemmy instance and change over to it in your terminal: ```bash mkdir lemmy cd lemmy ``` Add the files below in this Gist to the folder. Then create the pictrs volume and set it's permissiosn: ```bash mkdir volumes/pictrs chown -R 991:991 volumes/pictrs ``` Then start your Lemmy instance, using the compose command: ```bash docker compose up ``` Please wait at least 2 - 5 minutes, going to your instance's URL may show an error message if you look too soon. This is because the database is still starting up, this is the case for when you startup the instance again in the future too. Once the instance is done booting and the database is finished starting up, go to your instance and login to your admin user to confirm setup is complete. The URL with this setup is at [`http://localhost:3080`](http://localhost:3080).