Skip to content
forked from bludit/docker

Dockerfile and Kubernetes Deployment

Notifications You must be signed in to change notification settings

giselher9/docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bludit Docker Image

You can run Bludit as a Docker container.

Docker Hub

Kubernetes

Run the container

$ docker run --name bludit -p 8000:80 -d bludit/docker:latest

To get access visit with your browser http://localhost:8000

Run the container and mounting a volume to persist data

mkdir ~/bludit

docker run --name bludit \
    -p 8000:80 \
    -v ~/bludit:/usr/share/nginx/html/bl-content \
    -d bludit/docker:latest

To get access visit with your browser http://localhost:8000

Stop the container

$ docker stop bludit

Delete the container

$ docker rm bludit

Delete the image

$ docker rmi bludit/docker:latest

Kubernetes

Run Bludit on K8s.

$ kubectl apply -f kubernetes/deployment.yml
$ kubectl apply -f kubernetes/service.yml

About

Dockerfile and Kubernetes Deployment

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%