kbase / kb_sdk

Build and test new apps for the KBase platform
http://kbase.github.io/kb_sdk_docs
MIT License
26 stars 32 forks source link

Update kb-sdk wrapper to work with newer versions of Docker #365

Open bio-boris opened 2 years ago

bio-boris commented 2 years ago

The docker socket does not have the correct permissions for mac and linux users. Update the kb-sdk wrapper to help avoid this.

The current documented workaround for mac users is to run

docker run -it -v /var/run/docker.sock:/run/docker.sock alpine chmod g+w /run/docker.sock

The current workaround for linux users is to ensure that the docker socket permissions and group match the user and the cached user.