DIGITAL
GEZGİN
π
Docker ve Environment Araçları

Docker Run Komutu Oluşturucu

Image, port, volume ve env bilgileriyle docker run komutu üret.

Bu araç ne işe yarar?

Image, container name, port, volume ve env bilgileriyle docker run komutu oluşturur. Hızlı container testleri için kullanılır.

Nasıl kullanılır?

  1. image, name, port, volume ve env değerlerini yaz.
  2. Komut Oluştur butonuna tıkla.
  3. Oluşan docker run komutunu kontrol et.
  4. Terminalde çalıştırmadan önce volume ve port değerlerini doğrula.

Örnek kullanım

Örnek girdi

name=my-app
image=nginx:latest
port=8080:80
volume=/host:/container
env=APP_ENV=production

Örnek çıktı

docker run -d \
  --name my-app \
  -p 8080:80 \
  -v /host:/container \
  -e APP_ENV=production \
  nginx:latest

İpuçları

Production için tek başına docker run yerine compose veya orchestrator yapısı daha sürdürülebilir olabilir.