Giter VIP home page Giter VIP logo

alpine-minikube's Introduction

Docker

About

Pure alpine linux docker. Docker inside docker.

wikipedia.org/wiki/Docker

Usage

System Requirements

The ~700Mb image has an already created minkikube instance with 4Gb diskspace and 1Gb RAM. This is only for experimentation and demo only. Do not use in production. The minikube binary from the official repository does not work in Alpine and had to be built from source. (See Dockerfile)

Commandline

Starts a shell ready to docker & minikube

docker run -ti --privileged whindes/alpine-minikube sh

Minikube

After the commands below navigate to http://<your_host_docker>:30000/#!/overview?namespace=default

docker run -ti -p 30000 -p 31920 --rm --privileged whindes/alpine-minikube sh
[Hit Enter] to get the shell prompt
minikube start
kubectl run webserver --image=nginx:alpine
kubectl expose deployment webserver --type=LoadBalancer --port=80

Daemon

docker run --name alpine-docker -p 2375:2375 --privileged -d whindes/alpine-minikube

To start a shell in your new container.

docker exec -ti alpine-docker /bin/sh

Inside the container shell

Now you can start containers inside your alpine-docker container.

docker run -d elasticsearch
docker images
docker ps -a
docker volume ls

Docker-compose

If you need docker-compose inside your alpine-docker container.

setup-compose
docker-compose up

Remote docker

Set your client system variables and go

export DOCKER_API_VERSION=1.23
export DOCKER_HOST='tcp://127.0.0.1:2375'
docker ps
docker-compose up

alpine-minikube's People

Contributors

whindes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.