Created
January 6, 2017 21:48
-
-
Save adastreamer/07f22a2ef88a9064cc39682fd78d1a0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://github.com/Azure/azurefile-dockervolumedriver/releases/download/v0.5.1/azurefile-dockervolumedriver | |
chmod +x azurefile-dockervolumedriver | |
sudo cp azurefile-dockervolumedriver /usr/bin/ | |
rm azurefile-dockervolumedriver | |
git clone https://github.com/Azure/azurefile-dockervolumedriver.git | |
sudo cp azurefile-dockervolumedriver/contrib/init/systemd/azurefile-dockervolumedriver.default /etc/default/azurefile-dockervolumedriver | |
sudo vi /etc/default/azurefile-dockervolumedriver | |
sudo cp azurefile-dockervolumedriver/contrib/init/systemd/azurefile-dockervolumedriver.service /etc/systemd/system/azurefile-dockervolumedriver.service | |
sudo passwd docker-user | |
sudo systemctl daemon-reload | |
sudo systemctl enable azurefile-dockervolumedriver | |
sudo systemctl start azurefile-dockervolumedriver | |
sudo docker volume create -d azurefile --name azureshare -o share=azureshare | |
sudo docker run -i -t -v azureshare:/data busybox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment