I run docker on bananapi (like raspberry pi).The command run like this:
docker run
–name openhab
–net=host
-v /etc/localtime:/etc/localtime:ro
-v /etc/timezone:/etc/timezone:ro
-v /opt/openhab/conf:/openhab/conf
-v /opt/openhab/userdata:/openhab/userdata
-d
–restart=always
openhab/openhab:armhf-online
after I pull the image and run the container,the container state is alwasys restarting.