Dockerfile build -t & hellip; невозможно подготовить контекст: путь & ldquo; skullhead / & rdquo; не найдено

Я новичок в Ubuntu, поэтому я считаю, что там, где я застрял, это простая проблема.

Это ситуация. Я клонировал из GitHub несколько документов. Все они находятся в папке на моем рабочем столе. Допустим, Supercool. В этой папке это skullhead / docker / Dockerfile.

Я хочу запустить этот Dockerfile, и я думаю, что это должно быть так:

#
# Skullhead Dockerfile.
# use from the skullhead dir as
# docker built -t skullhead skullhead/
# then `docker run skullheadhead` and read the output at the end.
# using `docker ps` and `docker exec -it {id} /bin/bash` to connect
#

Но, так быстро я пишу:

pumba@pumba-X938UV:~$ docker build -t skullhead skullhead/

Я получаю,

unable to prepare context: path "skullhead/" not found

После этого я попытался:

pumba@pumba-X938UV:su
Password:
root@pumba-X938UV:/home/pumba# cd Desktop/tradingBots/skullhead
root@pumba-X938UV:/home/pumba/Desktop/tradingBots/skullhead# 
docker build -t skullhead skullhead/
unable to prepare context: path "skullhead/" not found
root@pumba-X938UV:/home/skullhead/Desktop/tradingBots/skullhead# 
ls
app            config          LICENSE       resources     
start_docker    yarn.lock
artisan        copy_to_docker  package.json  routes        storage
bootstrap      create_docker   phpunit.xml   server.php    
streaming.py
composer.json  database        public        setup-mac.sh  tests
composer.lock  docker          README.md     ssh_docker    
webpack.mix.js
root@pumba-X938UV:/home/pumba/Desktop/tradingBots/skullhead# 
cd docker
root@pumba-
X938UV:/home/pumba/Desktop/tradingBots/skullhead/docker# 
docker build -t skullhead skullhead/
unable to prepare context: path "skullead/" not found

Почему это не работает?

Спасибо!

0
задан 3 January 2018 в 22:40

0 ответов

Другие вопросы по тегам:

Похожие вопросы: