Download for Windows Premium
Publiciteit
docker
Docker
docker-compose.yml
dockerized
Musimy więc skupić się na rozwiązaniach dedykowanych, takich jak docker-compose.
We must focus therefore on the dedicated solutions, such as the docker-compose.
Każdy chce aby jego docker build czy rspec wykonywał się szybciej, prawda?
Everyone wants this docker build and rspec to run faster, right?
Jeżeli czytałeś nasze poprzednie wpisy, to już dobrze wiesz jak uruchomić projekt w docker-console.
If you read our previous posts, you already know very well how to start a project in the docker-console.
Zastępujemy jednym poleceniem (oczywiście musi istnieć odpowiedni plik konfiguracyjny docker-compose.yml)
We substitute it with one command (of course there must be a right docker-compose.yml configuration file)
W przypadku aplikacji rummager plik docker-compose.yml składa się z dwóch sekcji - networks i services (możliwe jest jeszcze zdefiniowanie sekcji "volumes", ale tutaj nie jest wykorzystywana).
In the case of the rummage app, the docker-compose.yml file consists of two sections - networks and services (it is also possible to define the "volumes" section, but here it is not used).
1 3th świadkiem, o docker...
1 3th witness, a docker...
Po prostu wystarczy pobrać pliki do naszego projektu (oczywiście mam tu na myśli projekt utworzony na podstawie artykułu o podstawach docker-console).
Just download the files for our project (of course, by "our project" here I mean the project created based on the article about the basics of docker-console).
Odwołania do zmiennych w pliku docker-compose.yml (czyli nazwy rozpoczynające się od znaku $) dotyczą więc zmiennych zdefiniowanych w pliku env-local, czyli w zapisie
The references to the variables in the docker-compose.yml file (so the names starting with the sign $) concern the variables defined in the env-local file, so in the record
Oczywiście nie jest to nic czego nie moglibyśmy dokonać również za pomocą sprytnych skryptów powłoki, jednak yaml (ten format pliku konfiguracyjnego wykorzystywany jest przez docker-compose) wydaje się być bardziej... elegancki, a elegancja - ważna rzecz.
Of course we could do this as well using the clever shell scripts, however yaml (this format of the configuration file is used by the docker-compose) seems more... elegant and elegance is an important thing.
W jednym z wcześniejszych artykułów pokazaliśmy Wam jak uruchomić projekt w oparciu o aplikację docker-drupal.
In one of our previous articles, we showed you how to start a project based on docker-drupal application.
W pliku docker-compose.yml podane zostały już tylko odpowiednie "uzupełnienia" (czwarty bajt, ewentualnie maska sieciowa w formacie CIDR) trzech wartości związanych z siecią
In the docker-compose.yml file there are already given only the appropriate "complements" (the forth byte, alternatively the netmask in the CIDR format) of three values connected to the network
Jeżeli Twoje środowisko dockerowe składa się z więcej niż jednego kontenera to zapoznanie się z docker-compose znacznie ułatwi Ci życie.
If your docker environment consists of more than one container, then knowing the docker-compose will make your life easier.
"Ports" - znaczenie tego parametru jest identyczne z opcją "-p" polecenia docker (choć możemy podać tutaj wiele mapowań jako kolejne elementy listy).
"Ports" - the meaning of this parameter is identical to option"-p" of the decker command (however here we can give many mappings as next elements of the list).
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor docker in het Pools

Publiciteit

Suggesties

Resultaten: 424. Exact: 424. Verstreken tijd: 31 ms.