shell-host/docker/02-docker.lib

6 lines
106 B
Bash

#!/bin/bash
command -v docker >/dev/null 2>&1 || return
docker_terminal () {
docker exec -it $1 /bin/sh
}