Skip to content

Instantly share code, notes, and snippets.

@tatosjb
Last active December 31, 2024 01:15

Revisions

  1. tatosjb revised this gist Aug 21, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion configure_alias.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # This process establishes an alias for the new docker compose command to ensure compatibility with the previous docker-compose command.

    sudo touch /usr/bin/docker-compose
    echo 'docker compose --compatibility "$@"' | sudo tee /usr/bin/docker-compose2
    echo 'docker compose --compatibility "$@"' | sudo tee /usr/bin/docker-compose
    sudo chmod +x /usr/bin/docker-compose
  2. tatosjb revised this gist Aug 14, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion configure_alias.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # This process establishes an alias for the new docker compose command to ensure compatibility with the previous docker-compose command.

    sudo touch /usr/bin/docker-compose
    echo "docker compose --compatibility \"$@\"" | sudo tee /usr/bin/docker-compose
    echo 'docker compose --compatibility "$@"' | sudo tee /usr/bin/docker-compose2
    sudo chmod +x /usr/bin/docker-compose
  3. tatosjb created this gist Jul 25, 2023.
    5 changes: 5 additions & 0 deletions configure_alias.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # This process establishes an alias for the new docker compose command to ensure compatibility with the previous docker-compose command.

    sudo touch /usr/bin/docker-compose
    echo "docker compose --compatibility \"$@\"" | sudo tee /usr/bin/docker-compose
    sudo chmod +x /usr/bin/docker-compose