Cómo actualizar mi imagen en docker
Para nodos de bitcoin corriendo en contenedores de docker
🛑 Step 1: Stop the node
docker stop bitcoin-mainnet🔼 Step 2: Pull the latest Bitcoin Core image
docker pull bitcoin/bitcoin:latest🧼 Step 3: Remove the old container
docker rm bitcoin-mainnet🚀 Step 4: Restart the node with the new image
docker-compose up -dbashCopyEditdocker run -d \
--name=bitcoin-mainnet \
-p 8332:8332 \
-p 8333:8333 \
-v /your/host/bitcoin-data:/bitcoin/.bitcoin \
--restart unless-stopped \
bitcoin/bitcoin:latest \
bitcoind -printtoconsole -server✅ Step 5: Confirm it’s running and synced
Last updated