In order to provide this seamless experience, VIC must
provide a completely parity of supported commands with Docker. VMware has been putting a lot of efforts on each release to add as much commands as possible, making developers
life easier and easier.
Along with a bunch of new features and fixes, VIC 1.2 also made a step closer to the 100% parity with Docker adding support for the following most used commands;
- docker cp
description: Copy files to and from containers
syntax: docker cp "src_file" container_ID:"dst_path"
- docker exec
description: run commands on a running container
description: run commands on a running container
syntax: docker exec container_ID [command]
- docker commit
description: Commit changes to a container into a new image
syntax: docker commit container_ID new_image:tag
- docker diff
description: Inspect for differences on the containers’ file system
since it’s creation
syntax: docker diff container_ID
A = file added
C = file changed
D = file deleted
- docker stats (not really new, but on 1.2 we added support for network statistics)
description: Shows container’s statistics
syntax: docker stats container_ID