Skip to content

Boulboulouboule/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DOCKER CONTAINERS

Here you can find the differents docker containers, their configurations files and some shell scripts that will make your docker life easier

php7_apache directory

Containers based on php7 and apache that just works

It's including some extensions like :

-Git

-Xdebug

-Opcache

-MySQL

nodejs directory

Soon there will be some nodejs containers here

lab directory

I'm testing some curious things here, enter at your own risks :)

dock . sh:

Contains some shortcuts that will help you with the docker commands like :

$ dock bash

Or, if you want to bash into another container thaht the one set in the dock.sh file

$ dock bash $CONTAINER_NAME

Is the command for:

docker exec -ti $CONTAINER_NAME bash

The ohers commands :

Stop the container

$ dock stop

Start the stopped container

$ dock start

Remove the stopped container

$ dock remove

/!\ Remove all containers

$ dock rmall

Remove all exited containers

$ dock rmexited

All the commands are working automatically on the name of your doker container. The only thing you have to do is add this name manually in th dock . sh file, like that :

dock . sh :

CONTAINER_NAME="my_container_name"

About

My docker configs and containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published