#!/bin/sh # Ensure the data directory exists and has the correct permissions mkdir -p /data/certs chown -R 1000:1000 /data # Start Portainer exec /usr/local/bin/portainer -H unix:///var/run/docker.sock