AppSec & Pentest
CloudSec
CloudSec
  • Sandboxes, Containers, Virtualization
    • Какие бывают
    • Kubernetes
      • About
      • Tools
        • kubectl
        • minikube
        • helm
        • tiller
        • Others
      • Components
      • Concepts
      • Security
      • Learning
      • Conferences & Events
    • Container Runtime Interface (CRI)
      • containerd
      • CRI-0
      • Podman
      • Colima
      • Docker
        • About
        • CLI
        • Dockerfile
        • docker compose
        • Registry
        • Testcontainers
        • [Def] Security
        • [Off] Security
    • Red Hat OpenShift Container Platform (OCP)
      • About
      • OCP Components
        • Platform services
        • Application services
        • Developer services
        • OpenShift Kubernetes Engine
      • Security
        • Container Security
        • Podman
        • Kubernetes Security
        • Securing Platform Services
        • Vulnerabilities
        • CIS
    • VMWare
      • Workspace ONE Access
      • Workspace One UEM SSRF (AirWatch)
      • vSphere
      • vCenter
      • Learn
      • Horizon Security Server
      • VMWare log4j
    • Tools
      • Build container image inside containers
      • Moby
      • Security
  • Cloud
    • Google Cloud Platform (GCP)
      • GCP Components
      • GCP CLI
      • Security
        • Get access to GCP via service-account [json]
        • PrivEsc
        • Papers
      • Courses & Certifications
    • Azure
      • Azure Start
      • Azure CLI
      • Компоненты и механизмы
        • Azure Storage BLOB
        • Подписанные URL (SAS)
      • Papers and Resources
      • Azure Security Center
      • Tools
    • AWS
      • AWS Intro
      • AWS Basics
      • AWS Components
        • Computing
        • Storage
        • Messaging
        • Serverless
        • Business Productivity
        • Network and Content Delivery
        • Mobile
        • Databases
      • AWS Testing
      • Basic Work: Examples
        • AWS Cli
        • AWS SES
        • S3 Bucket
      • Security
        • Enumeration
        • AWS Lambda
        • Разные примеры
        • Learn Materials
      • Books & Papers
      • Courses & Certifications
    • Yandex Cloud
      • YC CLI
      • YC API
      • Cloud Organization
      • VM
        • Cloud Computing
        • Virtual Private Cloud (VPC)
        • Network Load Balancer
      • Data Platform
        • Definitions
        • Как выбрать БД
        • Реляционные БД
        • Нереляционные БД
        • Object Storage and S3
      • Yandex k8s
      • Serverless
      • Security
      • Billing
    • Another platforms
    • OpenStack
    • Tools
      • Tool list
      • Packer
      • Terraform
        • Intro
        • Getting started
        • Configuration
          • Basic
            • Terraform Block
            • Providers
            • Resources
            • Variables
            • Outputs
            • Functions
          • Modules
        • Security
        • Papers
    • Papers
Powered by GitBook
On this page
  • Возможные проблемы
  • Не хватает прав для управления volumes на macOS
  • docker контейнеры не резолвят dns имена

Was this helpful?

  1. Sandboxes, Containers, Virtualization
  2. Container Runtime Interface (CRI)

Colima

PreviousPodmanNextDocker

Last updated 5 months ago

Was this helpful?

link:

Использует lima:

Platform: macos, linux

Управление docker и containerd контейнерами (как замена Docker Desktop, а точнее его платной части — docker engine)

Установка:

brew install docker  # Эта часть бесплатна
brew install colima

После установки, перезагружаем компьютер

Возможные проблемы

Не хватает прав для управления volumes на macOS

Следует обновить до 13-й оси (с этой версии в macos доступна virtiofs и виртуализация механизмами macos)

Удаляем все настройки и контейнеры:

colima delete

Запускаем с поддержкой виртуализации macos (не qemu) и virtiofs:

colima start -t vz --mount-type virtiofs

После снова собираем и запускаем наши образы

docker контейнеры не резолвят dns имена

Оказывается, у colima своя виртуальная машина (подключиться через `colima ssh`) и свой конфиг, отличный от docker: `~/.colima/default/colima.yaml`. Правим настройки dns серверов:

network:
    dns:
        - 8.8.8.8
        - 8.8.4.4
        - 1.1.1.1

Перезапускаем:

colima stop
colima start

link:

https://github.com/abiosoft/colima/
https://github.com/lima-vm/lima
https://github.com/abiosoft/colima/issues/1067