As Jamie you suggested, this is a copy-paste of Jamie’s feedback:
“The docker interface is reserved for snaps that the ability to control all aspects of docker containers on the system which therefore grants device ownership to the snap. If the access is required, consider using a brand store or create a forum topic at https://forum.snapcraft.io/ using the ‘store-requests’ category if this can be discussed in public or the ‘sensitive’ category if the discussion should remain private. Please feel free to copy and paste this message in the topic. Thanks!” — Jamie Strandboge
The access to docker is required because:
The alero-connector composed from two main parts, cli tool and a service.
The service part is currently planned to be deployed as a docker image that run in a docker container.
The alero-connector snap performing the
docker pull and the
docker run commands, this is the reason why this snap needs the docker interface.
If there are better alternatives, I will be happy to consider them.