Running docker build inside Skpr snap

The Skpr snap has a command to package docker images, and does this by calling docker build using the Go sdk. This requires access to the docker daemon.

Is there a way to do this with strict confinement? Does it require installing the docker snap? Or can it use the existing docker installation?

Thanks,

Kim

Similarly, skpr can rsync files to remote servers. It does this by wrapping the rsync command locally. Is there a way to do this with strict confinement?