Skip to content

Commit

Permalink
Merge pull request #67 from exdx/docs/windows
Browse files Browse the repository at this point in the history
docs: Add Windows support
  • Loading branch information
exdx authored Sep 11, 2022
2 parents 1f3071e + eb9a0c1 commit bd1f780
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dcp"
version = "0.3.2"
version = "0.4.0"
edition = "2021"
license = "MIT"
description = "A utility tool to copy container filesystems easily"
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ crates.io.
### Download compiled binary

The [release section](https://github.com/exdx/dcp/releases) has a number
of precompiled versions of dcp for different platforms. Currently only Linux and
MacOS are pre-built. For MacOS, both arm and x86 targets are provided, and
of precompiled versions of dcp for different platforms. Linux, macOS, and Windows (experimental)
binaries are pre-built. For MacOS, both arm and x86 targets are provided, and
for Linux only x86 is provided. If your system is not supported, building dcp from
the source is straightforward.

Expand Down Expand Up @@ -118,14 +118,13 @@ will then be able to notice the image locally pulled and process it.
------------------
**Q**: Is dcp supported on Windows?

**A**: Windows support is being tracked in [#14](https://github.com/exdx/dcp/issues/14). Outside of changing the socket paths, there may not be any other work required to support Windows.
**A**: Yes, dcp is supported on Windows. Windows support is experimental, as there is no CI coverage, but it should work with the default Docker Desktop.

------------------
**Q**: I would like to inspect image labels to figure out where in the filesystem I should copy from. Does dcp have an `inspect` command to list image labels?

**A**: Listing an image's labels can be done easily using the underlying container runtime. For example, run `docker image inspect <image-id> | grep Labels` to see labels attached to an image. From there, dcp can be used to copy files from the container filesystem.


## Testing

If you would like to run the test suite, you just need to run the standard cargo command. This will run all relevant
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extern crate pretty_env_logger;
#[macro_use]
extern crate log;

pub const VERSION: &str = "0.3.2";
pub const VERSION: &str = "0.4.0";

#[derive(Debug)]
pub struct Config {
Expand Down

0 comments on commit bd1f780

Please sign in to comment.