Skip to content

Instantly share code, notes, and snippets.

@EvilFreelancer
Created April 28, 2018 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EvilFreelancer/615f52fcbaa44b288aacf5b2ef1bc4ab to your computer and use it in GitHub Desktop.
Save EvilFreelancer/615f52fcbaa44b288aacf5b2ef1bc4ab to your computer and use it in GitHub Desktop.
Docker sample
Array
(
[0] => Array
(
[Id] => 825eae0c448a8677f6ca7e91350754d125b1a42c2a0adcf502722c6384d32ab6
[Names] => Array
(
[0] => /dockercirie_php_1
)
[Image] => dockercirie_php
[ImageID] => sha256:84c09325bb9e6cf9cbb7e06cd3b5a3a924ac0d6611fcfe9fd2edd0c06f61d6d4
[Command] => /entrypoint.sh
[Created] => 1523628494
[Ports] => Array
(
)
[Labels] => Array
(
[com.docker.compose.config-hash] => 22f449fc82882604f1d08205ff4700a83cb8e9c222c4f1e544f7068f7b3ff082
[com.docker.compose.container-number] => 1
[com.docker.compose.oneoff] => False
[com.docker.compose.project] => dockercirie
[com.docker.compose.service] => php
[com.docker.compose.version] => 1.17.0
)
[State] => running
[Status] => Up 24 hours
[HostConfig] => Array
(
[NetworkMode] => dockercirie_default
)
[NetworkSettings] => Array
(
[Networks] => Array
(
[dockercirie_default] => Array
(
[IPAMConfig] =>
[Links] =>
[Aliases] =>
[NetworkID] => 60d4efe476e4222ae2e49206e454a70817916cf42466efefea3df37fbebc0409
[EndpointID] => 8affcf930d9f728b777e78ccaaa67e1efdaf9143c03badda9697db811bc02424
[Gateway] => 172.19.0.1
[IPAddress] => 172.19.0.3
[IPPrefixLen] => 16
[IPv6Gateway] =>
[GlobalIPv6Address] =>
[GlobalIPv6PrefixLen] => 0
[MacAddress] => 02:42:ac:13:00:03
[DriverOpts] =>
)
)
)
[Mounts] => Array
(
[0] => Array
(
[Type] => bind
[Source] => /home/pasha/Documents/Repository/sites/docker-cirie/logs/php
[Destination] => /var/log/php
[Mode] => rw
[RW] => 1
[Propagation] => rprivate
)
[1] => Array
(
[Type] => bind
[Source] => /home/pasha/Documents/Repository/sites/docker-cirie/www
[Destination] => /var/www/html
[Mode] => rw
[RW] => 1
[Propagation] => rprivate
)
)
)
[1] => Array
(
[Id] => 9ff9f7478e494444fb5eff8e3d8b0ed179a6f041418587dda328428ef6671f13
[Names] => Array
(
[0] => /dockercirie_phpmyadmin_1
)
[Image] => phpmyadmin/phpmyadmin
[ImageID] => sha256:3286924808043e7aa6822ccc3a51f73c53ba4a23f2fdff18c4951573a6625345
[Command] => /run.sh phpmyadmin
[Created] => 1523621372
[Ports] => Array
(
[0] => Array
(
[PrivatePort] => 9000
[Type] => tcp
)
[1] => Array
(
[IP] => 0.0.0.0
[PrivatePort] => 80
[PublicPort] => 8080
[Type] => tcp
)
)
[Labels] => Array
(
[com.docker.compose.config-hash] => cd5000089d9b65474f9e9e68ded56395f3150652b1e801beb2babfb5e15464bb
[com.docker.compose.container-number] => 1
[com.docker.compose.oneoff] => False
[com.docker.compose.project] => dockercirie
[com.docker.compose.service] => phpmyadmin
[com.docker.compose.version] => 1.17.0
[version] => 4.7.9
)
[State] => running
[Status] => Up 24 hours
[HostConfig] => Array
(
[NetworkMode] => dockercirie_default
)
[NetworkSettings] => Array
(
[Networks] => Array
(
[dockercirie_default] => Array
(
[IPAMConfig] =>
[Links] =>
[Aliases] =>
[NetworkID] => 60d4efe476e4222ae2e49206e454a70817916cf42466efefea3df37fbebc0409
[EndpointID] => ed2ee935abdb889af7dbfce378cf2a7ae50dd64c8e2260f57add68056f8919f8
[Gateway] => 172.19.0.1
[IPAddress] => 172.19.0.4
[IPPrefixLen] => 16
[IPv6Gateway] =>
[GlobalIPv6Address] =>
[GlobalIPv6PrefixLen] => 0
[MacAddress] => 02:42:ac:13:00:04
[DriverOpts] =>
)
)
)
[Mounts] => Array
(
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment