Docker is a way to move applications including the operating system to servers.
Each of the following sections depend on a docker image with a Yacy server inside. This section shows you how to get such an image. Some possibilities may be used in the sections but you can may be able to exchange them.
Pull a docker image from dockerhub.
Type this command in your terminal:
docker pull nikhilrayaprolu/yacygridmcp
-
Type the following commands in terminal
sudo apt-get update && sudo apt-get upgrade -y sudo apt-get install docker.io sudo docker build https://github.com/yacy/yacy_grid_mcp.git -f docker/Dockerfile
-
You will get a hash from last command. Copy that hash and do...
sudo docker tag <IMAGE_HASH> <NAME_FOR_IMAGE>
- Signup for Docker
- Go to Settings > Linked Accounts & Services.
- Add your GitHub account and select an access level “Public and Private”, or “Limited Access”.
- Go to your GitHub account. Settings > Applications.
- Allow access for Docker Hub Registry.
- Allow service hook for the repository in its settings > Webhooks & Services.
- Select a source repository to build image in Docker Hub.
- Enable rebuilding the Docker image when a commit is pushed to the GitHub repository.
- Congratulations, you have completed the setup of automated image build.