Docker

[Mobile version(QRCode)]
Access record[Graph / PV Info.(Past 1 day / Past 1 week) / Access from outside (Yesterday / Past 1 week) / Vistors's list]
ProfilePmail(Mail)
Inbox   /Send   /Sent
Reviews(List   /Limit)
Poll   /Agree:Got   /Sent
Fan
Works/Music
Blog
[Write]
Links
My Play List
 Created dateCategoryArticle title
12017/06/13DockerDocker
 Created dateNameRecent messages

1.
2017/06/13 (Updated 2017/11/29) "Docker > Docker"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

1. Overview of Docker
  1. Merit
  2. Demerit
  3. Suggestion
2. Services and commands related with core of Docker
  1. dockerhub
  2. docker
  3. docker-compose
  4. docker
  5. How to construct wordpress environment
  6. How to consturct django environment
  7. ECS
  8. How to construct wordpress env

1. Overview of Docker


  1. Merit

It will make sure that the system is created based on the source code. In the case of ansible, we are not sure whether it is applied or not and there are things which are not described like pre-installed software because basically ansible is not describing lying OS's status
We can share same environment without much troubles.
  2. Demerit

Without changing everything into docker, we are not sure whether this can be applied in not dockerized environment or not.
Some overhead in terms of the performance compared to making everything run on pure OS.
Have to see the container status differently from the way checking the process on the server
  3. Suggestion


2. Services and commands related with core of Docker


  1. dockerhub

https://hub.docker.com/
  2. docker

docker run hello-world
docker --version
  3. docker-compose

https://docs.docker.com/compose/

docker-compose build
docker-compose up -d
docker-compose ps
docker-compose stop

docker network ls
docker network inspect $NETWORKID

docker-compose --project-name $PROJECTNAME up -d;

docker run -d -name $NAME --net $NETWORKNAME $IMAGE;

# Clean up
docker-compose rm -v;
  4. docker

# Sign into docker container
docker exec -it <mycontainer> bash

# Connect from one instance to another

# Kill all running process
docker kill $(docker ps -q)

# Delete all stopped containers (including data-only containers)
docker rm $(docker ps -a -q)

# Delete ALL images
docker rmi $(docker images -q)

# see ps including stopped one
docker ps -a
  5. How to construct wordpress environment

https://github.com/docker-library/wordpress/tree/7902c5f856c7fbc20dd70762bef324158328dcff
https://hub.docker.com/_/wordpress/
https://hub.docker.com/_/mariadb/

In the following requirement
Apache2.4.25
PHP5.6.30
Wordpress4.8.1


  6. How to consturct django environment


  7. ECS

pip install awscli --upgrade
aws ecr get-login --no-include-email --region ap-southeast-1
  8. How to construct wordpress env



Add comment to this article
Subscribe to RSS
RSS
Display Style of blog
List/Mobile(QRCode)
Term
Category
All
1.Japan
2.Atlassian's products
3.Self
4.Development of this site
5.Japanese comics
6.Japanese anime
7.Weekly hot news of Japanese culture
8.OP/ED/PV
9.Japanese game
10.Ranking
11.Japanese Comics (Manga)
12.Search Engine
13.Japanese drama
14.Japanese otaku culture
15.Programming
16.Ineternet world
17.Movie
18.C/C++
19.BerkeleyDB
20.Apache programming
21.Spam
22.Meteor
23.Marketing
24.Python
25.Scrum
26.JIRA
27.Git
28.CI
29.Jenkins
30.AWS
31.Operation
32.Singapore
33.Cloud
34.Mysql Cluster
35.DevOps
36.Bitbucket
37.Xamarin
38.Good and new
39.Monitoring
40.JavaScript(node.js)
41.React
42.Phillipines
43.Hiring
44.Python
45.SEO
46.Malaysia
47.Mongodb
48.Perl
49Docker
50.Life hack
51.Dance
52.QA
53.Mysql
54.Digital Life Hack
Sayings from S-Cry-Ed

Rule in this world is speed. Even stupid person can write cool novel if he can spend 20 years for it.

If someone helped me, I will help him in return, which is my rule.

To become stronger, consider what is cowardliest thinking. And rebel against the thinking, which will make you stronger.



I am Japanese but working for some English sites.

Doctor Job Career
Nurse Job Career
Top Page top MetaSeachJP Works