ernoaapa / eliot

Open source system for managing containerized applications in IoT device
https://docs.eliot.run
Apache License 2.0
269 stars 20 forks source link

Bugfix containerd connection #52

Open denisbusse opened 6 years ago

denisbusse commented 6 years ago

Hi,

Connetion to the current master version of eliotd failed with: FATA[0060] rpc error: code = Unknown desc = Unable to create connection to containerd: failed to dial "overlayfs": context deadline exceeded

This is caused (in my huble opinion) by a wrong argument order in GetRuntimeClient (utils.go) calling runtime.NewContainerdClient. Argument snapshotter and containerd-path are the two switched ones.

By apply the patch, the error is gone and the master version works like a charm.