atyenoria / janus-webrtc-gateway-docker

Perfect Docker Image for Media Streaming Expert User ( https://github.com/meetecho/janus-gateway )
687 stars 200 forks source link

make build error #66

Closed vegalou closed 4 years ago

vegalou commented 4 years ago

atyenoria/janus-webrtc-gateway-docker

Try to build docker image follow README steps:

git clone https://github.com/atyenoria/janus-webrtc-gateway-docker.git && cd janus-webrtc-gateway-docker

make build

error message shows:

Step 47 : SHELL 
INFO[2217] Unknown instruction: SHELL                   
make: *** [Makefile:7: build-nocache] Error 1

both make build or make build-nocache, return the same error

INFO[2217] Unknown instruction: SHELL

OS: Ubuntu 14.04x64

vegalou commented 4 years ago

Seems DOCKER too old without SHELL support, got to upgrade new OS.

vegalou commented 4 years ago

ubuntu 14.04 docker in use too old, has to upgrade docker to docker-ce

RUN AT YOU OWN RISK!!

before UPGRADE, All your docker images in /var/lib/docker MAYBE LOST!!

1. upgrade docker

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

apt-get update

apt-get install -y docker-ce

docker --version

ERROR After Upgrade

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348

2. System Kernel too OLD!!

apt-get install --install-recommends linux-generic-lts-xenial

remember to update boot menu from 3.13.0-103 to 4.4.0-148