Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The new aliases added command in aliases.sh file was not reflected in bash workspace container command line #3344

Closed
HuyNguyen206 opened this issue Jan 14, 2023 · 2 comments

Comments

@HuyNguyen206
Copy link

Description:

I try to add some new aliases commands in this file aliases.sh file located in the laradock/workspace, then i restart the workspace docker container but when i try to use these alias commands, it always shows command not found
https://laradock.io/documentation/#common-terminal-aliases

Expected Behavior:

The new aliases added commands in aliases.sh file was reflected in the bash workspace command line

Context information:

Output of git rev-parse HEAD

6c8cb6dd85eb1fcad6f7dce3e9d6c6a29c6e3ed8

Output of docker version

Client: Docker Engine - Community           
 Cloud integration: v1.0.29                 
 Version:           20.10.21                
 API version:       1.41                    
 Go version:        go1.18.7                
 Git commit:        baeda1f                 
 Built:             Tue Oct 25 18:02:28 2022
 OS/Arch:           linux/amd64             
 Context:           default
 Experimental:      true

Server: Docker Desktop
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 18:00:19 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.10
  GitCommit:        770bd0108c32f3fb5c73ae1264f7e503fe7b2661
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker-compose version

Docker Compose version v2.13.0

System info: Mac, Windows or Linux. Include which disto/version

Windows 10 Pro - 22H2
Default Distribution: docker-desktop
Default Version: 2

  NAME                   STATE           VERSION
* docker-desktop         Running         2
  docker-desktop-data    Running         2
  Ubuntu-22.04           Running         2

Steps to reproduce the issue:

1 - Follow the steps in the quick overview section
https://laradock.io/introduction/#features
Somehow I can build workspace container successfully, it failed in previous attempts
2. I add some new aliases in file aliases.sh file located in the laradock/workspace
3. I restart the workspace container
4. I go to the workspace with the command docker-compose exec --user=laradock workspace bash
5. Try to use newly added alias in step 2 but it seems doesn't recognize the alias, it shows command not found message

Am I missing something?

Thanks in advance

@stale
Copy link

stale bot commented May 21, 2023

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label May 21, 2023
@stale
Copy link

stale bot commented Jun 18, 2023

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant