Forwarded from DНЕВНИК web-программиста
Для работы пришлось ознакомиться с Docker - интересная штука, но не простая в настройке.
Нашел отличную статью, рекомендую, как минимум, в закладки.
👉Полное практическое руководство по Docker
#docker
Нашел отличную статью, рекомендую, как минимум, в закладки.
👉Полное практическое руководство по Docker
#docker
Хабр
Полное практическое руководство по Docker: с нуля до кластера на AWS
Содержание Вопросы и ответы Введение Пре-реквизиты Настройка компьютера 1.0 Играем с Busybox 1.1 Docker Run 1.2 Терминология 2.0 Веб-приложения и Докер 2.1 Статические сайты 2.2 Образы 2.3 Наш первый...
#laravel #docker
Пошаговая инструкция настройки Ларавель в Докере.
https://webomnizz.com/containerize-your-laravel-application-with-docker-compose/
Пошаговая инструкция настройки Ларавель в Докере.
https://webomnizz.com/containerize-your-laravel-application-with-docker-compose/
WebOmnizz
Containerize your Laravel Application with Docker Compose | WebOmnizz
In this article, we will learn how to set up the Laravel development environment with Docker. We are going to use the Docker Compose to set up the development environment. Let’s start the steps without delay. This may also help: Laravel, Nginx and MySQL configuration…
Forwarded from Находки в опенсорсе
Build automation for the post-container era. It's like Makefile and Dockerfile had a baby.
Earthly is a build automation tool for the post-container era. It allows you to execute all your builds in containers. This makes them self-contained, reproducible, portable and parallel. You can use Earthly to create Docker images and artifacts (eg binaries, packages, arbitrary files).
Earthly is meant to be used both on your development machine and in CI. It can run on top of popular CI systems (like Jenkins, Circle, GitHub Actions). It is typically the layer between language-specific tooling (like maven, gradle, npm, pip, go build) and the CI build spec.
Features:
- Reproduce CI failures
- Builds that run the same for everyone
- From zero to working build in minutes
- Build anything via containers - build images or standalone artifacts (binaries, packages, arbitrary files)
- Programming language agnostic - allows use of language-specific build tooling
- Reproducible builds - does not depend on user's local installation. Runs the same locally, as in CI
- Parallelism that just works - builds in parallel without special considerations the user has to make
- Mono-repo friendly - ability to split the build definitions across a vast directory hierarchy
- Multi-repo friendly - ability to import builds or artifacts from other repositories
https://github.com/earthly/earthly
#docker #devops #go
Example:
Output:
Earthly is a build automation tool for the post-container era. It allows you to execute all your builds in containers. This makes them self-contained, reproducible, portable and parallel. You can use Earthly to create Docker images and artifacts (eg binaries, packages, arbitrary files).
Earthly is meant to be used both on your development machine and in CI. It can run on top of popular CI systems (like Jenkins, Circle, GitHub Actions). It is typically the layer between language-specific tooling (like maven, gradle, npm, pip, go build) and the CI build spec.
Features:
- Reproduce CI failures
- Builds that run the same for everyone
- From zero to working build in minutes
- Build anything via containers - build images or standalone artifacts (binaries, packages, arbitrary files)
- Programming language agnostic - allows use of language-specific build tooling
- Reproducible builds - does not depend on user's local installation. Runs the same locally, as in CI
- Parallelism that just works - builds in parallel without special considerations the user has to make
- Mono-repo friendly - ability to split the build definitions across a vast directory hierarchy
- Multi-repo friendly - ability to import builds or artifacts from other repositories
https://github.com/earthly/earthly
#docker #devops #go
Example:
# Earthfile
FROM golang:1.13-alpine3.11
RUN apk --update --no-cache add git
WORKDIR /go-example
all:
BUILD +lint
BUILD +docker
build:
COPY main.go .
RUN go build -o build/go-example main.go
SAVE ARTIFACT build/go-example AS LOCAL build/go-example
lint:
RUN go get golang.org/x/lint/golint
COPY main.go .
RUN golint -set_exit_status ./...
docker:
COPY +build/go-example .
ENTRYPOINT ["/go-example/go-example"]
SAVE IMAGE go-example:latest
Output:
Forwarded from TechSkills - книги по программированию
Learn Docker in a Month of Lunches
Автор: Elton Stoneman
Год издания: 2020
Скачать книгу
#docker #english
Автор: Elton Stoneman
Год издания: 2020
Скачать книгу
#docker #english
Forwarded from Веб-страница
Шпаргалка по командам Docker
Здесь все нужные команды собраны в одном месте — реестры и репозитории Docker, запуск и установка контейнеров, получение информации о контейнерах, управление образами и многое другое:
https://tprg.ru/FoMZ
#devops #docker
Здесь все нужные команды собраны в одном месте — реестры и репозитории Docker, запуск и установка контейнеров, получение информации о контейнерах, управление образами и многое другое:
https://tprg.ru/FoMZ
#devops #docker
Forwarded from Веб-страница
Докеризируем среду разработки в VS Code
В этой статье рассматривается способ использования контейнеров Docker в качестве полноценной среды разработки с помощью расширения Remote - Containers. Благодаря ему можно создать необходимое количество контейнеров, а затем:
— использовать их для запуска библиотек, необходимых для работы с кодом в разных конфигурациях;
— быстро переключаться между изолированными средами разработки;
— пробовать новые технологии, не влияя на локальные настройки и не только.
Подробнее о том, как настроить расширение и что оно позволяет делать:
https://tprg.ru/cPNK
#docker #vscode
В этой статье рассматривается способ использования контейнеров Docker в качестве полноценной среды разработки с помощью расширения Remote - Containers. Благодаря ему можно создать необходимое количество контейнеров, а затем:
— использовать их для запуска библиотек, необходимых для работы с кодом в разных конфигурациях;
— быстро переключаться между изолированными средами разработки;
— пробовать новые технологии, не влияя на локальные настройки и не только.
Подробнее о том, как настроить расширение и что оно позволяет делать:
https://tprg.ru/cPNK
#docker #vscode
Forwarded from Веб-страница
20 лучших практик Dockerfile
В этой статье вы найдёте 20 различных практик для работы с файлами Docker, которые помогут вам избежать проблем с безопасностью и не только:
https://tprg.ru/GOUc
#docker #бэкенд
В этой статье вы найдёте 20 различных практик для работы с файлами Docker, которые помогут вам избежать проблем с безопасностью и не только:
https://tprg.ru/GOUc
#docker #бэкенд