SqlServer&Enterprise&2019&RC1&RootAccess
379
We've been using docker all the time in the smartcity project.
Indeed, it is a very simple and complete solution to set up.
We can isolate each service we use on a machine, so developers can have a more suitable working environment.
Docker also makes it possible to reduce production costs by using very little processor capacity.
Docker is completely modular, which means that we can configure our own image or use an already configured on,
it is very practical when we want to take a capture of our current image to deposit it on the repository of docker in public as in private.
docker search ariazarifian/$chosethereposdocker pull ariazarifian/$repos:latest
docker run --name=sqldev1 -e ACCEPT_EULA=Y \
-e MSSQL_PID="Enterprise" -e MSSQL_SA_PASSWORD="" \
-e MSSQL_ENABLE_HADR="1" -e MSSQL_AGENT_ENABLED="true" -p 1433:1433 -d ariazarifian/sql:latest
Manipulate in your container with the following command :
sudo docker exec -it sqldev1 /opt/mssql-tools/bin/sqlcmd
-S localhost -U SA -P ''
-Q 'SELECT @@VERSION'
docker commit yourimage yourIDdockerhub/yourimage:yourtag
docker push yourimage yourIDdockerhub/yourimage:yourtag
Remember that you must login on docker on your terminal
If you want to push the code, do not hesitate to contact me to get the token access.
AriaContent type
Image
Digest
Size
543.3 MB
Last updated
over 6 years ago
docker pull ariazarifian/sql