adaptation for docker