Row-Based Storage
1. Marc, Johnson, Washington, 27
2. Jim, Thompson, Denver, 33
3. Jack, Riley, Seattle, 51
Columnar-Based Storage
ID: 1,2,3
Below are the flags used in this Docker command.
-i
: Keeps STDIN open, even if not attached.-t
: Short for "tty", or teletypewriter. Allocates a tty for the process, which basically means that a shell is opened up to be used alongs the open STDIN.-v
: specifies a volume that you want to bind mount. In the example below, this binds the current directory to a folder in the Docker container calledvirtual-folder
We can allide the -i
and -t
flags since they don't have any arguments. -v
can be kept separate since we need to specify an argument for it.
You can start an interactive shell with an amazonlinux
Docker container with this command:
docker run -it -v ~/Documents/dev/folder:/virtual-folder amazonlinux
See this gist for more details on the above.