Skip to content

yumaatt/dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerfiles

how to use

setup

# admin container
cd /path/to/dockerfiles/admin
cp registry/config{_sample,}.yml
vim registry/config.yml
git clone https://github.com/docker/distribution.git registry/distribution
docker-compose build
docker-compose up -d registry
docker-compose up -d registry_frontend

# test container
cd /path/to/dockerfiles/test
docker-compose build
docker-compose up -d ubuntu14
docker-compose up -d centos6
./setup.sh

# phoply container
cd /path/to/dockerfiles/phoply
docker-compose build
docker-compose up -d dev1
./setup.sh

registor

docker tag test_ubuntu14 localhost:5000/test_ubuntu14:1.0
docker rmi test_ubuntu14
docker commit test_ubuntu14_1 localhost:5000/test_ubuntu14:1.0
docker push localhost:5000/test_ubuntu14:1.0

docker tag test_centos6 localhost:5000/test_centos6:1.0
docker rmi test_centos6
docker commit test_centos6_1 localhost:5000/test_centos6:1.0
docker push localhost:5000/test_centos6:1.0

update

docker commit test_ubuntu14_10_1 localhost:5000/test_ubuntu14:1.1
docker push localhost:5000/test_ubuntu14:1.1
docker commit test_centos6_10_1 localhost:5000/test_centos6:1.1
docker push localhost:5000/test_centos6:1.1

info
test_ubuntu14:1.0 base setting installed
test_centos6:1.0 base setting installed
phoply_dev1:1.0 base setting installed phoply develepment environment

docker registry frontend
192.168.1.10:8080

About

dockerfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages