echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_stable.gpg > /dev/null
sudo apt update
sudo apt install podman
podman run \\
-p 9000:9000 \\
-p 9001:9001 \\
minio/minio server /data --console-address ":9001"
podman run -p 9000:9000 --name minio1 \\
-e "MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE" \\
-e "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \\
-v /mnt/data:/data \\
-v /mnt/config:/root/.minio \\
minio/minio server /data --console-address ":9001"
echo "AKIAIOSFODNN7EXAMPLE" | podman secret create access_key -
echo "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" | podman secret create secret_key -
podman create --name="minio-service" --secret="access_key" --secret="secret_key" minio/minio server /data
podman start ${container_id}