rifaterdemsahin / aif

Adaptive Intelligence Framework
5 stars 7 forks source link

Local Docker to Kubernetes #57

Open rifaterdemsahin opened 6 years ago

rifaterdemsahin commented 6 years ago

Why use Docker ? image

In the morning when we go to mac. image

rifaterdemsahin commented 6 years ago

Local basic run ansible find the image and run

mac:~ rifaterdemsahin$ docker image list REPOSITORY TAG IMAGE ID CREATED SIZE gcr.io/adaptiveintelligenceframework/ubuntu ansible 54ff619add48 2 days ago 352MB ansible/adaptiveintelligenceframework/ubuntu ansible 54ff619add48 2 days ago 352MB ubuntu/ansible latest 54ff619add48 2 days ago 352MB ubuntu latest 9ee57f7bd752 3 days ago 112MB ubuntu f975c5035748 5 days ago 112MB centos latest 2d194b392dd1 6 days ago 195MB ubuntu 0458a4468cbc 6 weeks ago 112MB hello-world latest f2a91732366c 3 months ago 1.85kB microsoft/dotnet 2-runtime bf8c8826bf90 3 months ago 219MB ansible/ubuntu14.04-ansible latest 4621d4fe2959 2 years ago 461MB mac:~ rifaterdemsahin$ docker run -t -i --privileged 54ff619add48 root@75fa2c20c4d5:/# ansible --version ansible 2.4.3.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/dist-packages/ansible executable location = /usr/bin/ansible python version = 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] root@75fa2c20c4d5:/#