Created
July 27, 2017 23:19
-
-
Save debborafernandess/f6d444c936b306fdc5e71b13b2218a93 to your computer and use it in GitHub Desktop.
This file contains 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
Install | |
- https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/ | |
setup docker as root ( to do not use sudo ) | |
> | |
Create the docker group. | |
$ sudo groupadd docker | |
Add your user to the docker group. | |
$ sudo usermod -aG docker $USER | |
Log out and log back in so that your group membership is re-evaluated. | |
> | |
Criando um container | |
> | |
docker run -t bioritmo/smart-system | |
docker-compose build | |
docker run --rm --volumes-from smartsystem_db_1 -v $(pwd):/backup busybox tar jxvf /backup/backup.tar.bz2 --strip-components=3 -C /var/lib/mysql | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment