steveny2k / docker-predictionio

Docker container for PredictionIO-based machine learning services
73 stars 57 forks source link

Can not use and install git, vi and other commands #10

Closed lonly197 closed 5 years ago

lonly197 commented 6 years ago

Can not use and install git, vi and other commands

Since I need to start the pio engine service, I need to download the pio engine template by using git. But when I want to install packages such as git, always prompt "Unable to locate package git" such a mistake.

steveny2k commented 6 years ago

@lonly197 You can install git inside docker container. I can also pre-install git in the image in the future.

You can do below steps once inside the docker container. sudo apt-get update sudo apt-get install -y git