Skip to content

Instantly share code, notes, and snippets.

@jlisher
jlisher / 30-composer
Created November 20, 2021 16:09
Composer inside a container with completions
#!/usr/bin/env bash
composer() {
if ! docker volume exists composer_data; then
docker volume create composer_data
fi
docker run --rm \
--interactive \
--tty \