# How to run Iron Fish node with docker **Published by:** [SACTE](https://paragraph.com/@sacte/) **Published on:** 2022-05-13 **URL:** https://paragraph.com/@sacte/how-to-run-iron-fish-node-with-docker ## Content PreconditionInstall docker and docker composewget -qO- https://get.docker.com/ | bash curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose Installation procedureHere is the compose yaml template. You can custom . version: '3.3' services: iron-fish: container_name: iron network_mode: host restart: unless-stopped volumes: - ':/root/.ironfish' image: 'ghcr.io/iron-fish/ironfish:latest' miners: container_name: iron-miner image: ghcr.io/iron-fish/ironfish:latest network_mode: host volumes: - ':/root/.ironfish' restart: unless-stopped command: miners:start -t 10 You need set blockGraffiti for your Iron Fish node docker run -d --name iron --rm --tty --interactive --network host --volume :/root/.ironfish ghcr.io/iron-fish/ironfish:latest docker run --rm --tty --interactive --network host --volume :/root/.ironfish ghcr.io/iron-fish/ironfish:latest config:set blockGraffiti "SACTE" docker stop iron && docker rm iron Then you can up your node with docker compose docker-compose -f iron.yml up -d Upgrade If you want to upgrade your node version. You can do this. docker pull ghcr.io/iron-fish/ironfish:latest docker-compose -f iron.yml down docker-compose -f iron.yml up -d If the upgrade need reset. You can do this. docker pull ghcr.io/iron-fish/ironfish:latest docker exec iron-miner /usr/src/app/bin/ironfish accounts:export default > iron.default.json docker-compose -f iron.yml down docker-compose -f iron.yml up -d docker-compose -f iron.yml stop iron-fish echo "Y" | docker exec -i iron-miner /usr/src/app/bin/ironfish reset echo $(cat iron.default.json) | docker exec -i iron-miner /usr/src/app/bin/ironfish accounts:import docker-compose -f iron.yml restart Thanks ! Websit: https://sacte.com/#/ Twitter: https://twitter.com/SacteLabs ## Publication Information - [SACTE](https://paragraph.com/@sacte/): Publication homepage - [All Posts](https://paragraph.com/@sacte/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@sacte): Subscribe to updates - [Twitter](https://twitter.com/SacteLabs): Follow on Twitter