To first work with this pull the repo using git clone https://github.com/seif-138/OSTask.git Convert Dockerfile to image: docker build -t {image name} . when you are writing the commands in diffrent directory of the file use: docker build -t {image name} {path containing dockerfile}