Everything is already configured to contain the data within it's own folder. That way it is easy to configure the service or for making backups. Please review the docker compose file to see if changes are needed.
sudo adduser newuser
usermod -aG sudo newuser
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker $USER
or
sudo ./install_docker.sh
sudo ./install_portainer.sh
cd foldername/ |
Prior to installing, please make sure to check the docker compose file that everything is correct by typing nano docker-compose.yml
docker compose up -d |