tilt-dev / tilt-extensions

Extensions for Tilt
https://tilt.dev/
Apache License 2.0
202 stars 161 forks source link

Compose with nerdctl ? #574

Open luizhpriotto opened 5 months ago

luizhpriotto commented 5 months ago

How can I use the nerdctl extension with "docker-compose"?

Something like:

load('ext://nerdctl', 'nerdctl_build')
docker_compose('docker-compose.yml')
nerdctl_build('testimage', context='.', dockerfile='Dockerfile',
  live_update = [
    sync('.', '/var/www/html')
  ])

Thanks,

nicks commented 5 months ago

i haven't tried it, but i don't see any reason why it wouldn't work if you have nerdctl compose symlinked correctly as docker compose. what happened when you ran that tiltfile? what did you expect to happen?