Code Monkey home page Code Monkey logo

docksal's Introduction

Docksal Latest Release

Build Status Docs Gitter

Docker and Docker Compose based environments for web development.

Docksal is still under active development. Breaking changes and outdated docs are very possible.
Please help us by testing, submitting issues and PRs. Thanks!

Running a complete LAMP stack with Drupal, WordPress or a pure HTML/PHP base website is two commands away!*

git clone <sample-project-repo>
fin init

Try one of the preconfigured projects:

*Once you are done with a one-time Docksal environment setup

Docksal Setup

Please review system requirements before proceeding with the setup.

1. Install required software

2. Create a Docksal powered project

Docksal Fin and stack

Docksal Fin is a command line tool to control Docksal's stack. fin runs natively on Mac and Linux and requires Babun Shell on Windows.

Each project contains at least 3 services:

  • web - holds your webserver (nginx/apache/etc.)
  • db - holds database server (MySQL)
  • cli - container that is meant to serve as a single console access point to all necessary command line tools. You can access it with fin bash. For the list of tools available inside cli check CLI image docs

Docksal Stack documentation

Updating Docksal

fin update

How to update from Drude to Docksal

Tutorials

Advanced configuration

Utililies

Troubleshooting

Try these steps in the order listed below. Check if the issue has cleared out after each step.

  • Check troubleshooting document for rare problems that might occur
  • Update Docksal to the latest version. See updates section.
  • (Mac and Windows) Restart the Docksal VM: fin vm restart
  • Reset Docksal system services with fin reset system and restart projects containers with fin up
  • Reboot the host (your computer or remote server)
  • (Mac and Windows) Re-create Docksal VM: fin vm remove then fin vm start (WARNING: backup your DB data before doing this)

If quick fixes above did not help, try:

  • searching the GitHub issue queue. Others may have experienced same or a similar issue and have already found a solution or a workaround.
  • asking community for support in our Gitter room Gitter

Create a new issue if your problem is still not resolved.

Uninstallation

The steps below will remove the Docksal VM and cleanup Docksal stuff.

fin vm remove
rm -rf ~/.docksal
rm -f /usr/local/bin/fin

Docker for Mac/Windows and VirtualBox are not automatically removed. You can remove them manually on Mac or use uninstaller on Windows.

To remove Docker on Ubuntu Linux you need to:

  1. Follow Docker Uninstallation instruction
  2. Cleanup tools:
sudo rm /usr/local/bin/docker-compose
sudo rm /usr/local/bin/docker-machine

docksal's People

Contributors

3mkay avatar achekulaev avatar alexander-danilenko avatar david-hernandez avatar eelkeblok avatar fuzzbomb avatar kae76 avatar karschsp avatar lmakarov avatar skippednote avatar steveoliver avatar uberhacker avatar vg42 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.