alias dcup='docker compose -f /opt/docker-all/docker-compose.yml up -d'#brings up all containers if one is not defined after dcupalias dcdown='docker compose -f /opt/docker-all/docker-compose.yml stop'#brings down all containers if one is not defined after dcdownalias dcpull='docker compose -f /opt/docker-all/docker-compose.yml pull'#pulls all new images unless one is specifiedalias dclogs='docker compose -f /opt/docker-all/docker-compose.yml logs -tf --tail="50" 'alias dtail='docker logs -tf --tail="50" "$@"'
Now you can do the following, after you exit and then reenter your terminal:
dcup = launches all the docker containers inside /opt/docker-all/docker-compose.yml
dcdown = stops all the docker containers inside /opt/docker-all/docker-compose.yml
dcpull = pulls new images for all the docker containers inside /opt/docker-all/docker-compose.yml
dclogs = will post the 50 newest lines from the logs of all docker containers the docker containers inside /opt/docker-all/docker-compose.yml
dtail = you can now enter "dtail NameOfDockerContainer" and it'll give you the 50 newest lines from that particular container
The whole process should look something like this: