Skip to content

Commit

Permalink
Adds the powershell version of the alias
Browse files Browse the repository at this point in the history
Co-authored-by: Guillermo Cava <gcavanunez>
  • Loading branch information
tonysm committed Dec 7, 2024
1 parent 1fd7157 commit 7107bd6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,18 @@ On Linux or macOS, use:
alias takeout="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -it tighten/takeout:latest"
```

On Windows, use:
On Windows 10, if you're using Bash, use:

```bash
alias takeout="docker run --rm -v //var/run/docker.sock:/var/run/docker.sock -it tighten/takeout:latest"
```

On Windows 10, if you're using PowerShell, use:

```bash
function takeout { docker run --rm -v //var/run/docker.sock:/var/run/docker.sock -it tighten/takeout:latest $args }
```
That's it. You may now use Takeout on your terminal. The first time you use this alias, it will pull the Takeout image from Docker Hub.
To update the image, run `docker pull tighten/takeout` when you want to get the newest release.
Expand Down

0 comments on commit 7107bd6

Please sign in to comment.